Fluent
Constructors
Fluent(options?: FluentOptions);
Methods
addTranslation
addTranslation(options: AddTranslationOptions): Promise<void>;
addTranslationSync
addTranslationSync(options: AddTranslationOptions): void;
translate
translate<K extends string>(
localeOrLocales: MaybeArray<LocaleId>,
path: string,
context?: TranslationVariables<K>,
): string;
withLocale
withLocale(localeOrLocales: MaybeArray<LocaleId>);
Returns translation function bound to the specified locale(s).