getText()
Translates the provided text to the current locale, if necessary.
getText(text: string): string;
Summary
This method is called by DeferredString (the result of fmt()), for each string that should be translated.
Note
The input string may include formatting and plural form placeholders; translated text should include the same placeholders.
Related
interface DeferredString.I18nProvider static
An interface that provides functionality for translating and formatting strings.
