Re: question about required fields and I18N issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



speedy zinc wrote:

We are working on a school project to build a "universal" directory service to support a global
village (:) on which  everyone can logon using their
native language. People can talk to each other
using their native language, but it gets translated
in real-time (don't expect too much, just a school
project). And we use FDS as the underlying service
for user authentication, user profile, etc.

We want to allow user to register themselves,
in their own language. So, username etc, should be in
the native language.
Sure. This is also quite common for large global enterprises who want to provide self service or locally administered access to the directory server. The logic to convert from the local charset to utf8 must be done in the application - LDAP only provides for utf8 data. What is registration application? Is it open source? What language is it written in? For C apps, iconv is provided by most *nix OSes. There is a way to do this in Windows - I can't remember, but there is some code that the ldapsearch, ldapmodify commands use. I have no idea about Mac. It's very easy to do this in Java - strings are stored in Unicode internally, and the conversion code is built into the String class.

--- Richard Megginson <rmeggins@xxxxxxxxxx> wrote:

speedy zinc wrote:

How can I enter non-ascii data in the attribute,
especially for dn, last name, first name, etc, and
still can use the native language for searching?


Firstly, the data must be encoded in utf8.  There
are usually system utilities available to do native charset -> utf8 conversion - see "man iconv". Secondly, you must use language tags for your attributes if you want them to be properly sorted/collated e.g.
cn: Celine Andre
cn;lang-fr: \de\55\85\44line Andre


Does that mean I can not enter native language (even
if my system is using UTF8 encoding) directly in
the console?

For example, if I want to enter greeks or some
eastern
european characters, how can I do that?

How do I configure the server to support i18n and
have
the proper collation?


You shouldn't have to do anything.  As long as you
make sure all data is utf8 encoded, the server should be able to handle it. We use ICU 2.4 which supports about 40 languages.

How many languages does the console support, i.e.
have
the proper translation and display correctly?


You mean, for how many languages has the console
been localized for?


Yeah, since it is in java, if I change my environment,
shouldn't the console displayed in the right language?

thanks

chris p.



		
__________________________________ Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux