gettext and windows

Alexandre Fayolle <[email protected]>
Newsgroups gmane.comp.python.internationalization
Message-ID <[email protected]>
Hello,

I'm testing an app that runs fine under linux, but whose l10n fails under
windows (Win98). By tracking down the code in gettext.py, I saw that
this module uses environment variables to get the current locale. However,
this is not the correct way of doing things on Windows system, since the
LC_ALL variables is generally not set, resulting in the C locale being
used.

I have a patch which uses locale.getdefaultlocale()[0] to get information,
but I wanted to know if there was a reason why this had not been used in
the first place. 

Thanks

Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.