Static
Private
globalThe string associated with the current global locale (set with setGlobalLocale()). If the global locale is not available for this string, the English string is returned. If that is also unavailable, the next available locale is returned. If no locales are available, an empty string is returned.
Static
setThis function sets the default locale used by localString.
Generated using TypeDoc
This class represents a map of locales and their associated strings. Each string can be accessed by using the locale as the key (e.g. 'en', 'jp'). localString and setGlobalLocale can be used to automatically access a preferred locale.
Example