Description of problem:
Running yum in a terminal(gnome-terminal in this case) in ja_JP locale cannot show localized messages at all.
$ echo $LANG
$ sudo yum list anaconda
Loaded plugins: aliases, changelog, downloadonly, protect-packages, refresh-packagekit, rhnplugin, security, tmprepo, verify, versionlock
anaconda.i686 13.21.82-1.el6 rhel-i386-workstation-6
$ rpm -ql yum | grep \.mo$ | grep ja | xargs msgunfmt | grep Loaded -A 2
msgid "Loaded plugins: "
$ rpm -ql yum | grep \.mo$ | grep ja | xargs msgunfmt | grep 'Available Packages' -A 2
msgid "Available Packages"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. set LANG to ja_JP.UTF-8
2. run yum list
Yum always shows English messages.
Yum shows translated messages if yum supports localized rendering for a language
No ja_JP specific. Applies to other language.
We explicitly turn localization off in RHEL yum (see i18n.py), mainly because no customer has asked for it ... and we've had a huge number of bugs, due to how python handles unicode.
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.