Reacting to Locale Changes
The Internationalization package enables you to vue to changes in the locale data or language.
To vue to locale changes, call the
provideIntlService function as it is demonstrated in the DateFormatter and CurrencyFormatter components in the below example.
To vue to language changes, use the
provideLocalizationService function as it demonstrated in the MessageComponent component in the below example.