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]
LocaleDesciption
en-USEnglish for United States
en-GBEnglish for United Kingom
ko-KRKorean for Korea
uz-Cyrl-UZCyrillic Uzbek for Uzbekistan
zh-Hans-CNSimplified Chinese for China