HP-UX Directory Server Administrator Guide HP-UX Directory Server Version 8.1 (5900-3098, May 2013)

Because a locale describes cultural, customary, and regional differences in addition to mechanical
language differences, the directory data can both be translated into the specific languages
understood by users as well as be presented in a way that users in a given region expect.
D.2 Identifying 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.3.3.2.17.1 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 “Managing Indexes” (page 449).
Table 85 (page 574) lists each locale supported by Directory Server and identifies the associated
language tags and OIDs.
Table 85 Supported locales
Collation order object identifiers (OIDs)Language tagLocale
2.16.840.1.113730.3.3.2.44.1sqAlbanian
2.16.840.1.113730.3.3.2.1.1arArabic
2.16.840.1.113730.3.3.2.2.1beBelorussian
2.16.840.1.113730.3.3.2.3.1bgBulgarian
2.16.840.1.113730.3.3.2.4.1caCatalan
2.16.840.1.113730.3.3.2.49.1zhChinese (Simplified)
2.16.840.1.113730.3.3.2.50.1zh-TWChinese (Traditional)
2.16.840.1.113730.3.3.2.22.1hrCroatian
2.16.840.1.113730.3.3.2.5.1csCzechoslovakian
2.16.840.1.113730.3.3.2.6.1daDanish
2.16.840.1.113730.3.3.2.11.1en or en-USEnglish (US)
2.16.840.1.113730.3.3.2.16.1etEstonian
2.16.840.1.113730.3.3.2.17.1fiFinnish
2.16.840.1.113730.3.3.2.18.1fr or fr-FRFrench
2.16.840.1.113730.3.3.2.7.1deGerman
2.16.840.1.113730.3.3.2.10.1elGreek
2.16.840.1.113730.3.3.2.27.1iwHebrew
2.16.840.1.113730.3.3.2.23.1huHungarian
2.16.840.1.113730.3.3.2.24.1isIcelandic
2.16.840.1.113730.3.3.2.28.1jaJapanese
574 Internationalization