D.2. Supported Locales

When performing directory operations that require that a locale be specified, such as a search operation, use a language tag or a collation order object identifier (OID).
A language tag is a string that begins with the two-character lowercase language code that identifies the language, as defined in ISO Standard 639. If necessary to distinguish regional differences in language, the language tag may also contain a two-character string for the country code, as defined in ISO Standard 3166. The language code and country code are separated by a hyphen. For example, the language tag used to identify the British English locale is en-GB.
An object identifier (OID) is a decimal number used to uniquely identify an object, such as an attribute or object class. The OIDs for searching or indexing an internationalized directory identify specific collation orders supported by the Directory Server. For example, the OID 2.16.840.1.113730. identifies the Finnish collation order.
When performing an international search in the directory, use either the language tag or the OID to identify the collation order to use. However, when setting up an international index, the OIDs must be used. For more information on indexing, see Chapter 9, Managing Indexes.
Table D.1, “Supported Locales” lists each locale supported by Directory Server and identifies the associated language tags and OIDs.

Table D.1. Supported Locales

Locale Language Tag Collation Order Object Identifiers (OIDs)
Albanian sq 2.16.840.1.113730.
Arabic ar 2.16.840.1.113730.
Belorussian be 2.16.840.1.113730.
Bulgarian bg 2.16.840.1.113730.
Catalan ca 2.16.840.1.113730.
Chinese (Simplified) zh 2.16.840.1.113730.
Chinese (Traditional) zh-TW 2.16.840.1.113730.
Croatian hr 2.16.840.1.113730.
Czechoslovakian cs 2.16.840.1.113730.
Danish da 2.16.840.1.113730.
Dutch nl or nl-NL 2.16.840.1.113730.
Dutch (Belgian) nl-BE 2.16.840.1.113730.
English (US) en or en-US 2.16.840.1.113730.
Estonian et 2.16.840.1.113730.
Finnish fi 2.16.840.1.113730.
French fr or fr-FR 2.16.840.1.113730.
French (Belgian) fr-BE 2.16.840.1.113730.
French (Canadian) fr-CA 2.16.840.1.113730.
French (Swiss) fr-CH 2.16.840.1.113730.
German de 2.16.840.1.113730.
German (Austrian) de-AT 2.16.840.1.113730.
German (Swiss) de-CH 2.16.840.1.113730.
Greek el 2.16.840.1.113730.
Hebrew iw 2.16.840.1.113730.
Hungarian hu 2.16.840.1.113730.
Icelandic is 2.16.840.1.113730.
Italian it 2.16.840.1.113730.
Italian (Swiss) it-CH 2.16.840.1.113730.
Japanese ja 2.16.840.1.113730.
Korean ko 2.16.840.1.113730.
Latvian, Lettish lv 2.16.840.1.113730.
Lithuanian lt 2.16.840.1.113730.
Macedonian mk 2.16.840.1.113730.
Norwegian no 2.16.840.1.113730.
Norwegian (Bokmul) nb 2.16.840.1.113730.
Norwegian (Nynorsk) no-NO-NY 2.16.840.1.113730.
Polish pl 2.16.840.1.113730.
Romanian ro 2.16.840.1.113730.
Russian ru 2.16.840.1.113730.
Serbian (Cyrillic) sr 2.16.840.1.113730.
Serbian (Latin) sh 2.16.840.1.113730.
Slovakian sk 2.16.840.1.113730.
Slovenian sl 2.16.840.1.113730.
Spanish es or es-ES 2.16.840.1.113730.
Swedish sv 2.16.840.1.113730.
Turkish tr 2.16.840.1.113730.
Ukrainian uk 2.16.840.1.113730.