Appendix D. Internationalization

represented.

Time/date format. The time and date format indicates the customary formatting for times and dates in the region. The time and date format indicates whether dates are customarily represented in the mm/dd/yy (month, day, year) or dd/mm/yy (day, month, year) format and specifies what the days of the week and month are in a given language. For example, the date January 10, 1996, is represented as 10.leden 1996 in Czechoslovakian and 10 janvier 1996 in French.

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.

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 Chapter 10, Managing Indexes.

Table D.1, “Supported Locales” lists each locale supported by Directory Server and identifies the associated language tags and OIDs.

Locale

Language Tag

Collation Order Object

 

 

Identifiers (OIDs)

 

 

 

Albanian

sq

2.16.840.1.113730.3.3.2.44.1

 

 

 

Arabic

ar

2.16.840.1.113730.3.3.2.1.1

 

 

 

Belorussian

be

2.16.840.1.113730.3.3.2.2.1

 

 

 

Bulgarian

bg

2.16.840.1.113730.3.3.2.3.1

 

 

 

Catalan

ca

2.16.840.1.113730.3.3.2.4.1

 

 

 

578

Page 598
Image 598
HP UX Red Hat Direry Server Software manual Identifying Supported Locales, Appendix D. Internationalization