ReadonlylocaleReactive: locale used for Intl formatting. Shares language with messageLocale; may add script/region when compatible.
ReadonlymessageReactive: the active locale used for i18n messages.
If supportedMessageLocales is empty, this falls back to en.
ReadonlysupportedLocales for which the application has translated messages. This list may be empty, if the application has no message bundles.
ReadonlysupportsFlag indicating whether the application supports live changes for the current locale.
If true, changeLocale applies the new locale in place.
If false, changeLocale triggers a full application restart.
Switches to locale. Best-fit match against supportedMessageLocales;
throws UNSUPPORTED_LOCALE on no match. undefined enables automatic picking.
True iff locale best-fits a supported message locale (regional variants accepted).
A service to inspect and control the application's active locale.
localevsmessageLocaleIntl-based formatting (numbers, dates, ...). It may upgrade messageLocale with the user's script/region when compatible.Live locale changes
If supportsLiveChanges is false, changeLocale triggers a full application restart. Otherwise the locale is updated in place.
NOTE: live changes will become the new default with the next major release. Full application restarts due to locale changes will no longer happen then.