I18nFlavor
Properties
i18n
ts
i18n: {
fluent: Fluent getLocale(): Promise<string>;
setLocale(locale: LocaleId): Promise<void>;
useLocale(locale: LocaleId): void;
renegotiateLocale(): Promise<void>;
};
I18n context namespace object
translate
ts
translate: TranslateFunction;
Translation function bound to the current locale.
t
ts
t: TranslateFunction;
Translation function bound to the current locale.