import { type I18nFlavor } from "https://deno.land/x/grammy_i18n@v1.0.2/mod.ts";
Properties
i18n: { fluent: Fluent; getLocale(): Promise<string>; setLocale(locale: LocaleId): Promise<void>; useLocale(locale: LocaleId): void; renegotiateLocale(): Promise<void>; }
I18n context namespace object
translate: TranslateFunction
Translation function bound to the current locale.
Translation function bound to the current locale.