Interface I18n

interface I18n {
    getAvailableLocales: (() => Locale[]);
    getLanguages: (() => Language[]);
    getSystemLocale: ((defaultLocale: string) => string);
    international: MessagesBinds;
    intl: IntlManager & {
        format: FormatFunction<FormatterImplementation<ReactFunctionTypes, ReactIntlMessage, ReactNode>>;
        formatToMarkdownString: FormatFunction<FormatterImplementation<MarkdownFunctionTypes, string, string>>;
        formatToParts: FormatFunction<FormatterImplementation<AstFunctionTypes, RichTextNode[], RichTextNode[]>>;
        formatToPlainString: FormatFunction<FormatterImplementation<StringFunctionTypes, string, string>>;
    };
    t: MessagesBinds;
}

Properties

getAvailableLocales: (() => Locale[])
getLanguages: (() => Language[])
getSystemLocale: ((defaultLocale: string) => string)
international: MessagesBinds
intl: IntlManager & {
    format: FormatFunction<FormatterImplementation<ReactFunctionTypes, ReactIntlMessage, ReactNode>>;
    formatToMarkdownString: FormatFunction<FormatterImplementation<MarkdownFunctionTypes, string, string>>;
    formatToParts: FormatFunction<FormatterImplementation<AstFunctionTypes, RichTextNode[], RichTextNode[]>>;
    formatToPlainString: FormatFunction<FormatterImplementation<StringFunctionTypes, string, string>>;
}
t: MessagesBinds