Module typeables::locale_variant_code
source · [−]Expand description
Locale Variant Code
Examples:
let x = LocaleVariantCodeAsStructStr("arevela"); // Eastern dialect of Armenian
let x = LocaleVariantCodeAsStructStr("biscayan"); // Biscayan dialect of Basque
let x = LocaleVariantCodeAsStructStr("cisaup"); // Cisalpine dialect of Italian
let x = LocaleVariantCodeAsStructStr("dajnko"); // Slovene in Dajnko alphabet
let x = LocaleVariantCodeAsStructStr("ekavsk"); // Serbian with Ekavian pronunciation
let x = LocaleVariantCodeAsStructStr("fonipa"); // International Phonetic Alphabet
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: