Docs (4.0.0)
class GlobalContext property

i18n

The current internationalization context, an object that implements I18nProvider.

i18n?: I18nProvider

Notes

  • You can set app.i18n to an object that implements I18nProvider, to change the current internationalization context.
  • Note that labels and other UI controls that are already rendered won’t be updated automatically. If needed, use app.renderer.remount() to force a full re-render.

Related