Valid Locale Identifiers

The following table shows the International Organization of Standards (ISO) language identifiers recognized by Indexing Service in Microsoft Windows NT® and Windows 2000 in CiLocale:

LanguageCiLocale StringWin32 Equivalent
AfrikaansAFLANG_AFRIKAANS | SUBLANG_DEFAULT
ArabicARLANG_ARABIC | SUBLANG_DEFAULT
BasqueEULANG_BASQUE | SUBLANG_DEFAULT
BelarusianBELANG_BELARUSIAN | SUBLANG_DEFAULT
BulgarianBGLANG_BULGARIAN | SUBLANG_DEFAULT
CatalanCALANG_CATALAN | SUBLANG_DEFAULT
Chinese (China)ZH, ZH-CNLANG_CHINESE | SUBLANG_CHINESE_SIMPLIFIED
Chinese (Taiwan)ZH-TWLANG_CHINESE | SUBLANG_CHINESE_TRADITIONAL
CroatianHRLANG_CROATIAN | SUBLANG_DEFAULT
CzechCSLANG_CZECH | SUBLANG_DEFAULT
DanishDALANG_DANISH | SUBLANG_DEFAULT
DutchNLLANG_DUTCH | SUBLANG_DUTCH
English
(United Kingdom)
EN-GBLANG_ENGLISH | SUBLANG_ENGLISH_UK
English
(United States)
EN, EN-USLANG_ENGLISH | SUBLANG_ENGLISH_US
EstonianETLANG_ESTONIAN | SUBLANG_DEFAULT
FaeroeseFOLANG_FAEROESE | SUBLANG_DEFAULT
FinnishFILANG_FINNISH | SUBLANG_DEFAULT
FrenchFR, FR-FRLANG_FRENCH | SUBLANG_FRENCH
French (Canadian)FR-CALANG_FRENCH | SUBLANG_FRENCH_CANADIAN
GermanDELANG_GERMAN | SUBLANG_GERMAN
GreekELLANG_GREEK | SUBLANG_DEFAULT
HebrewHE, IWLANG_HEBREW | SUBLANG_DEFAULT
HungarianHULANG_HUNGARIAN | SUBLANG_DEFAULT
IcelandicISLANG_ICELANDIC | SUBLANG_DEFAULT
IndonesianID, INLANG_INDONESIAN | SUBLANG_DEFAULT
ItalianITLANG_ITALIAN | SUBLANG_ITALIAN
JapaneseJALANG_JAPANESE | SUBLANG_DEFAULT
KoreanKOLANG_KOREAN | SUBLANG_DEFAULT
LatvianLVLANG_LATVIAN | SUBLANG_DEFAULT
LithuanianLTLANG_LITHUANIAN | SUBLANG_DEFAULT
Neutral (use built-in word breaking)NEUTRALLANG_NEUTRAL | SUBLANG_NEUTRAL
NorwegianNOLANG_NORWEGIAN | SUBLANG_DEFAULT
PolishPLLANG_POLISH | SUBLANG_DEFAULT
PortuguesePTLANG_PORTUGUESE | SUBLANG_DEFAULT
Portuguese (Brazil)PT-BRLANG_PORTUGUESE | SUBLANG_PORTUGUESE_BRAZILIAN
RomanianROLANG_ROMANIAN | SUBLANG_DEFAULT
RussianRULANG_RUSSIAN | SUBLANG_DEFAULT
SerbianSRLANG_SERBIAN | SUBLANG_DEFAULT
SlovakSKLANG_SLOVAK | SUBLANG_DEFAULT
SlovenianSLLANG_SLOVENIAN | SUBLANG_DEFAULT
SpanishES, ES-ESLANG_SPANISH | SUBLANG_SPANISH
SwedishSVLANG_SWEDISH | SUBLANG_DEFAULT
ThaiTHLANG_THAI | SUBLANG_DEFAULT
TurkishTRLANG_TURKISH | SUBLANG_DEFAULT
UkrainianUKLANG_UKRAINIAN | SUBLANG_DEFAULT
VietnameseVILANG_VIETNAMESE | SUBLANG_DEFAULT

Indexing Service in Microsoft Windows XP uses Component Object Model (COM) objects and interfaces available through the Mlang APIs to provide support for 150 locales. For more information about the MLang APIs, see the Mlang section in the MSDN On-line library:

http://msdn.microsoft.com/library/default.asp?url=/workshop/misc/mlang/mlang.asp

CiLocale can be specified in the .idq or .ida file. It can also be specified by the browser as the HTTP_ACCEPT_LANGUAGE variable. Values entered in the .idq and .ida files supersede those sent in HTTP_ACCEPT_LANGUAGE. If no value is found in the .idq or .ida file, the value of HTTP_ACCEPT_LANGUAGE is read from left to right to find a supported language.

For example:

HTTP_ACCEPT_LANGUAGE=EN, FR, CZ

Note   Values are separated by commas.

 

Page view tracker