/**

  • Configuration settings for i18n translation
interface TranslationSettings {
    detection?: {
        order?: (
            | "querystring"
            | "htmlTag"
            | "navigator"
            | "localStorage"
            | "sessionStorage"
            | "cookie"
            | "path"
            | "subdomain")[];
    };
    fallbackLng?: string;
}

Properties

detection?: {
    order?: (
        | "querystring"
        | "htmlTag"
        | "navigator"
        | "localStorage"
        | "sessionStorage"
        | "cookie"
        | "path"
        | "subdomain")[];
}

The order of detection methods for determining the user's language

["querystring", "htmlTag", "navigator"]
fallbackLng?: string

The fallback language to use when a translation is not available

'en'