What does a locale look like in ICU?
ICU locales are lightweight, and they are represented by just a string. Lightweight means that there is just a string to represent a locale and nothing more. Many platforms have numbers and other data structures to represent a locale, but ICU has one simple platform independent string to represent a locale. ICU locales usually contain an ISO-639 language name (2-3 characters), an ISO-3166 country name (2-3 characters), and a variant name which is user specified. When a language or country is not represented by these standards, ICU uses 3 characters to represent that part of the locale. All three parts are separated by an underscore “_”. For example, US English is “en_US”, and German in Germany with the Euro symbol is represented as “de_DE_EURO”. Traditionally the language part of the locale is lowercase, the country is uppercase and the variant is uppercase. More details are available from the Locale Chapter of this User’s Guide.
Related Questions
- After drinking Maxmyer NanoCalcium, why some people experienced rashes appeared all over the skin that look very much like lupus and are itchy?
- After drinking Maxmyer NanoCalcium, why some people experienced rashes appeared all over the skin that look very much like lupus and are itchy?
- Why does my breastmilk look different from the beginning to the end of a feeding?
- What is the relationship between ICU locale data and system locale data?
- What is the relationship between ICU locale data and system locale data?
- What does a locale look like in ICU?