Optional
options: I18nOptionsOptional
fetcherReadonly
lang$A Val of current lang.
Readonly
locale$A Val of current locale.
Readonly
locales$A Val of all loaded locales.
Readonly
t$A Val of current translate function.
Add a locale to the locales.
Use i18n.locales$.set()
for more control.
Static
preloadFetch locale of initialLang
and return an I18n instance with the locale.
Fetch locale of the specified lang.