次の方法で共有


Valid Locale Identifiers

Note

Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.

 

The following table shows the International Organization of Standards (ISO) language identifiers recognized by Indexing Service in CiLocale:

Language CiLocale String Win32 Equivalent
Afrikaans AF LANG_AFRIKAANS | SUBLANG_DEFAULT
Arabic AR LANG_ARABIC | SUBLANG_DEFAULT
Basque (Basque) EU LANG_BASQUE | SUBLANG_DEFAULT
Belarusian 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 (Great Britain) 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 (Brazil) 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

 

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.

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.