@servicenow/sdk - v4.7.0
    Preparing search index...

    Function validateLocaleAndSetLanguage

    • Checks to see if the locale is in the appropriate format, and if it is, attempts to set the appropriate language.

      Parameters

      • locale: string
      • sys: {
            fileExists(fileName: string): boolean;
            getExecutingFilePath(): string;
            readFile(fileName: string): string | undefined;
            resolvePath(path: string): string;
        }
      • Optionalerrors: tsc.Diagnostic[]

      Returns void