return the current locale
return the list of supported locale codes
set the current locale
either string or an Intl.Locale object
add the specified listener to the list of listeners that will be informed on every locale change.
the listener
the priority. Smaller priorities are called earlier.
Staticgetreturn the browser locale
The
LocaleManagerkeeps track of the current locale as a behavior subject and knows about the array of supported locales. Interested parties can subscribe to the current value.