Glossary
Geographically speaking, a locale is a place. In software terms, a locale is a set of information associated with a place or a culture. Locale information on Windows includes the name and identifier of the spoken language, the script used to write the language, and cultural conventions. (See Table 1-1.) Locale-aware standards include keyboard layouts, default paper sizes and envelope sizes, character sets or character encoding ranges, text directionality (left-to-right or right-to-left, horizontal or vertical), and input methods. Chapter 4, "Locale and Cultural Awareness," discusses different aspects of locale information in detail.
Table 1-1 Selected default information for several locales.
Locale | English (United States) | French (France) | Japanese | United Arab Emirates (UAE) Arabic |
Country/Region | United States | France | Japan | United Arab Emirates |
Language | English | French | Japanese | Arabic |
Written Script(s) | Latin | Latin | Kana, kanji | Arabic |
Direction of Text | Left to right | Left to right | Left to right horizontally or right to left vertically | Right to left |
Windows-Defined Code Page | 1252 | 1252 | 932 | 1256 |
Currency Symbol | $ |
|
|
|
Long-Date Format | January 27, 2004 | 27 January 2004 | 2004 127 | , |
Short-Date Format | 1/27/04 | 27/01/2004 | 04/01/27 | 04/01/27 |
Time Format | 1:00 pm | 13:00 | 13:00 | 1:00 |
Calendar | Gregorian | Gregorian | Gregorian (Localized) | Gregorian (Localized) |
Default Paper Size | U.S. Letter (8-1/2 x 11 in) | A4 (210 x 297 mm) | A4 (210 x 297 mm) | A4 (210 x 297 mm) |
Decimal Separator | . | , | . | , |
List Separator | , | ; | , | ; |
Thousands Separator | , | Space | , | , |
Windows supports a large set of locales, which it tags with language and sublanguage pairs. The sublanguage generally corresponds to a country/region. One way to think of this is in terms of the phrase "X language as spoken in Y country/region." The way people speak or write a particular language might not necessarily change dramatically from one country/region to the next, but cultural conventions and national standards often differ nonetheless. However, there are other locales where the language can significantly change between country/region, as in the case of Brazilian and Portuguese locales.
Microsoft Windows XP supports 135 locales. Among these are five Chinese-language locales (Hong Kong SAR, Macau SAR, the People's Republic of China, Singapore, and Taiwan), 13 English locales (Australia, Belize, Canada, Caribbean, Ireland, Jamaica, New Zealand, Philippines, South Africa, Trinidad, the United Kingdom, the United States, and Zimbabwe), and six French locales (Belgium, Canada, France, Luxembourg, Monaco, and Switzerland). In addition, Windows XP supports 16 Arabic locales plus nine Indic locales.