Expand description

Locale Region Code

Examples:

let x = LocaleRegionCodeAsStructStr("QO"); // Outlying Oceania
let x = LocaleRegionCodeAsStructStr("EU"); // European Union
let x = LocaleRegionCodeAsStructStr("ZZ"); // Unknown or Invalid Territory

A locale typically uses a language code and country code:

  • “en-US” means English - United States.
  • “zh-CN” means Chinese - China (Simplified variant)
  • “hi-IN” means Hindi - India
  • “es-ES” means Spanish - Spain
  • “ar-EG” means Arabic - Egypt
  • “ms-ID” means Malay - Indonesia

Locale concepts:

Structs

Type Definitions