1.12 Internationalization

The LDAP Libraries for C are enabled for internationalization. Message files are supplied for 12 major languages. These message files contain the text strings associated with each defined LDAP error code. When an application calls ldap_err2string, for example, the error message is returned translated into the appropriate language. If an appropriate language file is not present on the system, English strings are returned.

1.12.1 File Locations

Table 1-14 Location Details of the Message Files

Platform

Location

NetWare

SYS:system\nls\<language>\ldapsdk.msg

Windows

nls\<language>\ldapsdkmsg.dll

Unix

<install directory>/cldapsdk/lib/locale/<language>/LC_MESSAGES/ldapsdk.po

1.12.2 Language Directory Names

Table 1-15 Language Directory Names

Language

NetWare

Windows

Unix

Chinese Simplified

1

chineses

zh_CN

English

4

english

en

French

6

francais

fr

German

7

deutsch

de

Italian

8

italiano

it

Japanese

9

nihongo

ja

Korean

10

korean

ko

Portugese

12

portugue

pr

Russian

13

russki

ru

Spanish

14

espanol

es

Chinese Traditional

16

chineset

zh_TW

Polish

17

polski

pl