The following table shows the International Organization of Standards (ISO) language identifiers recognized by Index Server in CiLocale:
Language | CiLocale String | Win32 Equivalent |
---|---|---|
Afrikaans | AF |
LANG_AFRIKAANS | SUBLANG_DEFAULT |
Arabic | AR |
LANG_ARABIC | SUBLANG_DEFAULT |
Basque | EU |
LANG_BASQUE | SUBLANG_DEFAULT |
Byelorussian | BE |
LANG_BELARUSIAN | SUBLANG_DEFAULT |
Bulgarian | BG |
LANG_BULGARIAN | SUBLANG_DEFAULT |
Catalan | CA |
LANG_CATALAN | SUBLANG_DEFAULT |
Chinese (China) | ZH, ZH-CN |
LANG_CHINESE | SUBLANG_CHINESE_SIMPLIFIED |
Chinese (Taiwan) | ZH-TW |
LANG_CHINESE | SUBLANG_CHINESE_TRADITIONAL |
Croatian | HR |
LANG_CROATIAN | SUBLANG_DEFAULT |
Czech | CS |
LANG_CZECH | SUBLANG_DEFAULT |
Danish | DA |
LANG_DANISH | SUBLANG_DEFAULT |
Dutch | NL |
LANG_DUTCH | SUBLANG_DUTCH |
English (United Kingdom) | EN-GB |
LANG_ENGLISH | SUBLANG_ENGLISH_UK |
English (United States) | EN, EN-US |
LANG_ENGLISH | SUBLANG_ENGLISH_US |
Estonian | ET |
LANG_ESTONIAN | SUBLANG_DEFAULT |
Faeroese | FO |
LANG_FAEROESE | SUBLANG_DEFAULT |
Finnish | FI |
LANG_FINNISH | SUBLANG_DEFAULT |
French | FR, FR-FR |
LANG_FRENCH | SUBLANG_FRENCH |
French (Canadian) | FR-CA |
LANG_FRENCH | SUBLANG_FRENCH_CANADIAN |
German | DE |
LANG_GERMAN | SUBLANG_GERMAN |
Greek | EL |
LANG_GREEK | SUBLANG_DEFAULT |
Hebrew | HE, IW |
LANG_HEBREW | SUBLANG_DEFAULT |
Hungarian | HU |
LANG_HUNGARIAN | SUBLANG_DEFAULT |
Icelandic | IS |
LANG_ICELANDIC | SUBLANG_DEFAULT |
Indonesian | ID, IN |
LANG_INDONESIAN | SUBLANG_DEFAULT |
Italian | IT |
LANG_ITALIAN | SUBLANG_ITALIAN |
Japanese | JA |
LANG_JAPANESE | SUBLANG_DEFAULT |
Korean | KO |
LANG_KOREAN | SUBLANG_DEFAULT |
Latvian | LV |
LANG_LATVIAN | SUBLANG_DEFAULT |
Lithuanian | LT |
LANG_LITHUANIAN | SUBLANG_DEFAULT |
Neutral (use built-in word breaking) | NEUTRAL |
LANG_NEUTRAL | SUBLANG_NEUTRAL |
Norwegian | NO |
LANG_NORWEGIAN | SUBLANG_DEFAULT |
Polish | PL |
LANG_POLISH | SUBLANG_DEFAULT |
Portuguese | PT |
LANG_PORTUGUESE | SUBLANG_DEFAULT |
Portuguese (Brazilian) | PT-BR |
LANG_PORTUGUESE | SUBLANG_PORTUGUESE_BRAZILIAN |
Romanian | RO |
LANG_ROMANIAN | SUBLANG_DEFAULT |
Russian | RU |
LANG_RUSSIAN | SUBLANG_DEFAULT |
Serbian | SR |
LANG_SERBIAN | SUBLANG_DEFAULT |
Slovak | SK |
LANG_SLOVAK | SUBLANG_DEFAULT |
Slovenian | SL |
LANG_SLOVENIAN | SUBLANG_DEFAULT |
Spanish | ES, ES-ES |
LANG_SPANISH | SUBLANG_SPANISH |
Swedish | SV |
LANG_SWEDISH | SUBLANG_DEFAULT |
Thai | TH |
LANG_THAI | SUBLANG_DEFAULT |
Turkish | TR |
LANG_TURKISH | SUBLANG_DEFAULT |
Ukrainian | UK |
LANG_UKRAINIAN | SUBLANG_DEFAULT |
Vietnamese | VI |
LANG_VIETNAMESE | SUBLANG_DEFAULT |
CiLocale can be specified in the .idq or .ida file. It can also be specified by the browser as the HTTP_ACCEPT_LANGUAGE tag. 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.