Class: LocaleManager

LocaleManager()

Manages translations

Constructor

new LocaleManager()

Source:

Methods

getLocale(name) → {Locale}

Parameters:
Name Type Description
name string Locale name
Source:
Returns:
Specified locale or default locale
Type
Locale

loadLocale(name)

Loads the specified locale
Parameters:
Name Type Description
name string Name of the locale to load
Source:

reloadLocale(name)

Reloads the specified locale
Parameters:
Name Type Description
name string
Source:

unloadLocale(name)

Unloads the specified locale
Parameters:
Name Type Description
name string
Source: