validateLocaleAndSetLanguage
external fun validateLocaleAndSetLanguage( locale: String, sys: ValidateLocaleAndSetLanguageSys, errors: <Error class: unknown class><Diagnostic> = definedExternally)(source)
Checks to see if the locale is in the appropriate format, and if it is, attempts to set the appropriate language.