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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20044>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to