Members
(readonly) availableLocales :Array.<string>
List of available locales
Type:
- Array.<string>
defaultLocale :string|null
Default fallback locale
One of Get#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.
Type:
- string | null
locale :string|null
Current locale
One of Get#availableLocales or null
. Partial matches of language tags
are supported, so e.g. with an en
locale defined, it will be selected by
messages.locale = 'en-US'
and vice versa.
Type:
- string | null