[New-bugs-announce] [issue20044] gettext.install() ignores previous call to locale.setlocale()
Francis Moreau
report at bugs.python.org
Sat Dec 21 17:15:20 CET 2013
New submission from Francis Moreau:
It seems that gettext.install() uses environment variables such as LANGUAGE, to find out which language it should use to find the translation file.
This means that any local settings done by setlocale() previoulsy are ignored.
I don't think it's the case with the C implementation.
----------
components: Library (Lib)
messages: 206762
nosy: fmoreau
priority: normal
severity: normal
status: open
title: gettext.install() ignores previous call to locale.setlocale()
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20044>
_______________________________________
More information about the New-bugs-announce
mailing list