validateLocaleAndSetLanguage
external fun validateLocaleAndSetLanguage(locale: String, sys: ValidateLocaleAndSetLanguageSys, errors: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<typescript/Diagnostic> = definedExternally)(source)
Checks to see if the locale is in the appropriate format, and if it is, attempts to set the appropriate language.