
Storing Information in Multiple Languages
Appendix A
LDAP Data Interchange Format
585
For example, suppose
example.com
Corporation has offices in the United States
and France and wants employees to be able to view directory information in their
native language. When adding directory entries, the directory administrator
chooses to provide attribute values in both English and French. When adding a
directory entry for a new employee, Babs Jensen, the administrator creates the
following LDIF entry:
dn: uid=bjensen,ou=people,dc=example,dc=com
objectclass: top
objectclass: person
objectclass: organizationalPerson
name: Babs Jensen
cn: Babs Jensen
sn: Jensen
uid: bjensen
streetAddress: 1 University Street
streetAddress;lang-en: 1 University Street
streetAddress;lang-fr: 1 rue de l’Université
preferredLanguage: fr
Users accessing this directory entry with an LDAP client with the preferred
language set to English will see the address
1 University Street
. Users
accessing the directory with an LDAP client with the preferred language set to
French will see the address
1 rue de l’Université
.
NOTE
The language tag has no effect on how the string is stored within
the directory. All object class and attribute strings are stored using
UTF-8.
Summary of Contents for DIRECTORY SERVER 7.1
Page 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Page 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Page 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Page 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...