GlobalLingo
    Preparing search index...

    Interface Config

    interface Config {
        catalogDirs?: string[];
        ignore?: { keys?: string[]; paths?: string[] };
        jsonSyntax?: "icu" | "i18next" | "i18n-js";
        locales?: string[];
        rules?: Partial<Record<RuleId, RuleSetting>>;
        sourceLanguage?: string;
    }
    Index
    catalogDirs?: string[]

    Folders with JSON translation files that are not found on their own.

    ignore?: { keys?: string[]; paths?: string[] }

    Type Declaration

    • Optionalkeys?: string[]

      Globs matched against keys, e.g. debug.*.

    • Optionalpaths?: string[]

      Globs matched against paths from the checked folder, e.g. **/Tests/**.

    jsonSyntax?: "icu" | "i18next" | "i18n-js"

    Placeholder syntax of JSON translation files, when package.json does not tell.

    locales?: string[]

    Only these locales are checked, and each must exist.

    rules?: Partial<Record<RuleId, RuleSetting>>

    A different severity for a rule, or off.

    sourceLanguage?: string

    The language the others are translated from, when the files do not say.