Staticinstancethe currently active locale after any in-flight activation has settled.
BetaRegisters a locale loader that provides string resources for one or more locales. Once registered, Reveal will delegate locale resolution to this loader before falling back to built-in strings. Has no effect on locales that have already been loaded.
The locale loader to register. Must implement supportsLocale(locale) and loadLocale(locale).
StaticgetBuiltInLocaleForBrowserLanguage
Ensures that any in-flight locale activation request finishes (successfully or not) before this promise resolves. If a locale activation is interrupted by a newer activation request, this method will still resolve once the current (or most recently started) activation completes. It never rejects.