Returns a cloned array of all locales in the repository.
Gets the fallback locale. A fallback locale is used when no other suitable locales can be used.
Gets the system locale. If Javascript Intl API is not supported, this method retuens undefined.
Adds a [Locale] to the locales repository.
Tries to resolve a locale. It first tries to find the locale in the repository. If find operation fails, it tries to create a RuntimeLocale (a locale created by using javascript Intl API). If creating RuntimeLocale fails, this method returns undefined or throws an error (based on "opts.strict" parameter).
Generated using TypeDoc
A class for managing locales.