Locale
Locale
In computing a locale is a set of parameters that defines the user's language, region and any special variant preferences that the user wants to see in their user interface. Usually a locale identifier consists of at least a language code and a country/region code.
from Wikipedia
Normally, Locale is any combination of
- language: the lower-case 2 or 3 letter. It follows ISO 639 code
- region: the upper case 2 letter. It follows ISO 3166 code
- script: the 4 letter. (Initial capital and 3 lower case letter) It follows ISO 159424 code.
iLib and loctool adopts BCP(Best Crrent Practice)47 conventions.
- Any of the above parts separated by dashes following order: [language]-[script]-[region]
Locale | Desciption |
---|---|
en-US | English for United States |
en-GB | English for United Kingom |
ko-KR | Korean for Korea |
uz-Cyrl-UZ | Cyrillic Uzbek for Uzbekistan |
zh-Hans-CN | Simplified Chinese for China |