Messages.defaultLocale property
Default fallback locale
Signature:
get defaultLocale(): string | null;
set defaultLocale(locale: string | null);
Remarks
One of Messages.availableLocales or null
. Partial matches of language tags are supported, so e.g. with an en
locale defined, it will be selected by messages.defaultLocale = 'en-US'
and vice versa.