[New-bugs-announce] [issue19534] normalize() in locale.py fails for sr_RS.UTF-8 at latin
Mike FABIAN
report at bugs.python.org
Sat Nov 9 09:02:59 CET 2013
New submission from Mike FABIAN:
Originally reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=1024667
I found that Serbian translations in Latin do not work when the locale
name is written as sr_RS.UTF-8 at latin (one gets the cyrillic
translations instead), but they *do* work when the locale name is
written as sr_RS at latin (i.e. omitting the '.UTF-8'):
$ LANG='sr_RS.UTF-8' python2 -c 'import gettext; print(gettext.ldgettext("anaconda", "What language would you like to use during the installation process?").decode("UTF-8"))'
Који језик бисте желели да користите током процеса инсталације?
mfabian at ari:~
$ LANG='sr_RS.UTF-8 at latin' python2 -c 'import gettext; print(gettext.ldgettext("anaconda", "What language would you like to use during the installation process?").decode("UTF-8"))'
Који језик бисте желели да користите током процеса инсталације?
mfabian at ari:~
$ LANG='sr_RS at latin' python2 -c 'import gettext; print(gettext.ldgettext("anaconda", "What language would you like to use during the installation process?").decode("UTF-8"))'
Koji jezik biste želeli da koristite tokom procesa instalacije?
mfabian at ari:~
$
The “gettext” command line tool does not have this problem:
mfabian at ari:~
$ LANG='sr_RS at latin' gettext anaconda "What language would you like to use during the installation process?"
Koji jezik biste želeli da koristite tokom procesa instalacije?mfabian at ari:~
$ LANG='sr_RS.UTF-8 at latin' gettext anaconda "What language would you like to use during the installation process?"
Koji jezik biste želeli da koristite tokom procesa instalacije?mfabian at ari:~
$ LANG='sr_RS.UTF-8' gettext anaconda "What language would you like to use during the installation process?"
Који језик бисте желели да користите током процеса инсталације?mfabian at ari:~
$
----------
components: Library (Lib)
messages: 202467
nosy: mfabian
priority: normal
severity: normal
status: open
title: normalize() in locale.py fails for sr_RS.UTF-8 at latin
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19534>
_______________________________________
More information about the New-bugs-announce
mailing list