bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: How to add crh.po, and address@hidden locale's .po for gettext


From: Abel Cheung
Subject: Re: How to add crh.po, and address@hidden locale's .po for gettext
Date: Sat, 2 Sep 2006 22:51:49 +0800

On 9/2/06, Bruno Haible <address@hidden> wrote:

(I removed CC to libc-locales due to the content of my
question, see below for the reason)

Assuming you want this for a glibc system (e.g. Linux), the first step is
to create a glibc locale for it. This is unfortunately also one of the
hardest steps, but it is the basis for the entire system. You find some
tips about it at
  http://www.student.uit.no/~pere/linux/glibc/howto.html
When your locale works fine, you are encouraged to submit it to the
glibc maintainers for inclusion.

Talking about submission of locale, is it a better idea or not to
submit to belocs? I guess belocs would react faster, so that
new locale is usable at least by all debian derived distro, is it?

Abel



You "compile" the locale using the localedef utility, and start using it
by setting the LANG or LC_ALL environment variable, as described in
gettext's ABOUT-NLS file.

Then you can already start creating localised PO files, "compile" them
using msgfmt, and install them in the locations (typically
/usr/share/locale/... or /usr/local/share/locale/...) where the programs
will expect it.

You should also contact the translation projects (the Free Translation
Project at http://www.iro.umontreal.ca/translation/, the KDE localization
project, the GNOME localization project) and register with them, so that
someone else with the same ideas as you will be aware of your work and
not make duplicated efforts.

Finally, a small note about "crh": According to
  http://www.alvestrand.no/pipermail/ietf-languages/2003-May/000969.html
  http://www.ethnologue.com/show_language.asp?code=crh
Crimean Turkish is written in Cyrillic script. If you want to provide a
locale that uses the Latin script for it, you should call it address@hidden;
if you want to provide a locale that uses the IQTELif script, you should
call it address@hidden (not address@hidden - the glibc maintainers don't want
abbreviations here). Even if a "crh" locale with Cyrillic script does
not yet exist.

Bruno



--
Abel Cheung   (GPG Key: 0xC67186FF)
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF
--------------------------------------------------------------------
* GNOME Hong Kong - http://www.gnome.hk/
* Opensource Application Knowledge Assoc. - http://oaka.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]