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

Re: Gettext and LC_MESSAGES



Changwoo Ryu <cwryu@idis.co.kr> wrote:
> Tomohiro KUBOTA <kubota@surfchem0.riken.go.jp> 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 
and franks).

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).

                                             With regards
--
                          ***  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/



Reply to: