getLocalizedString

Gets the localized version of a string. If the localized version is not in the article cache, the unlocalized string will be returned, but a call to the server to translate the string will be made, so that next time the localized string will be returned.

export declare function getLocalizedString(string: string): string;

Last updated

Was this helpful?