Kaixo!
[sorry for the delay, the message was buried under a pile of email]
On Wed, Apr 26, 2000 at 08:42:07PM +0200, Stefan Siegel wrote:
[about problems of drakxtools with LC_ALL=de_DE]
Yes; the problem comes because DrakX (and drakxtools) doesn't use gettext
and glibc functions to find the files; as the algorithm used by glibc is
quite complicated it has been simplified a lot: only things asked are
searched, no smart things are done (that is LANGUAGE=de_DE won't
look for 'de' if 'de_DE' is not found).
That is why DrakX allways add the default values too (eg it sets
"LANGUAGE=de_DE:de").
THe drakxtools had also a bug, they looked at varaibles in that order:
LANG, LC_ALL, ....
instead of
LANGUAGE, LC_ALL, LC_MESSAGES, LANG
That has been fixed; and now, provided that the LANGUAGE variable is ok
the program will properly display in right language.
> I haven lookt in the code so far but the way you store your po-files
> looks verry strange anyway (bzipped po-files instead of mo files ...)
>
> Pablo could you please comment on this ...
That is because they are not mo files, gettext is not used in fact.
As the programs are in perl Pixel find it easier to use directly perl
great abilities of string manipulation instead of doing a call to a C function
from an external lib.
The bzipped files are in fact just the plain text po files; just bzipped
to save space.
--
Ki �a vos v�ye b�n,
Pablo Saratxaga
http://www.ping.be/~pin19314/ PGP Key available, key ID: 0x8F0E4975