interface DeferredString.I18nProvider
An interface that provides functionality for translating and formatting strings.
interface I18nProvider;
Notes
- This interface is used by DeferredString to translate and format strings. The application context provides an implementation of this interface as
app.i18n.
Instance members
getText()
Translates the provided text to the current locale, if necessary.getPlural()
Chooses a plural form based on a specific quantity.format()
Formats a value according to the specified type.getCulture()
Returns the current (user) culture preferences and/or locale defaults.
Related
class DeferredString
An object that encapsulates a string, evaluated only when needed.
