interface I18nProvider
An interface that can be implemented to support a specific locale.
interface I18nProvider
Notes
- I18n providers are selected on the global application context. Refer to app.i18n for details.
Type Members
- type I18nProvider.Attributes staticAttributes that describe the locale and its formatting rules.
Instance Members
- getAttributes()A method that returns information about the locale represented by this provider.
- getText(text)A method that’s used to localize a string.
- getPlural(n, forms)A method that’s used to choose a plural form based on a specific quantity.
- format(value, …type)A method that’s used to format a value.