Re: Gettext and LC_MESSAGES
Changwoo Ryu <email@example.com> wrote:
> Tomohiro KUBOTA <firstname.lastname@example.org> writes:
> > There should be two discussions: (1) Why setlocale(LC_MESSAGES, "de")
> > fails? Should we improve locale database to have "de" locale?
> Because the glibc maintainer decided so. There is no locale db named
> as "de" in glibc. But the message catalogs are stored in "de"....
If I understand it well, you must set that you're using German language
in Germany (de_DE), while most catalogs are just in German language. But
if you would have some program containing messages eg. about the capital,
money, etc. (which depends on the state), you should have catalogs de_DE
(with Berlin and marks) de_AT (with Wien and schilings), de_CH (with Bern
If you set de_DE and the catalog is not found in de_DE, it is looked for
in de. So it is better to use de_DE or german or deutsch (the last two
are alises to de_DE.ISO-8859-1).
*** Petr Kolar ***
Department of Information Technologies, Technical University of Liberec
Voronezska 1329, 461 17 Liberec, Czech Republic
Phone: +420-48-535-2371 Fax: +420-48-535-2229
E-mail: Petr.Kolar@vslib.cz http://www.kit.vslib.cz/~kolar/