RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 660577 - yum cannot show localized messages in terminal
Summary: yum cannot show localized messages in terminal
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-07 07:28 UTC by Kenichi Takemura
Modified: 2014-08-04 22:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-07 14:35:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kenichi Takemura 2010-12-07 07:28:08 UTC
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
ja_JP.utf8
$ sudo yum list anaconda
Loaded plugins: aliases, changelog, downloadonly, protect-packages, refresh-packagekit, rhnplugin, security, tmprepo, verify, versionlock
Available Packages
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: "
msgstr "読み込んだプラグイン:"

$ rpm -ql yum | grep \.mo$ | grep ja | xargs msgunfmt | grep 'Available Packages' -A 2
msgid "Available Packages"
msgstr "利用可能なパッケージ"


Version-Release number of selected component (if applicable):
yum-3.2.27-14.el6_0.1.noarch

How reproducible:
Always

Steps to Reproduce:
1. set LANG to ja_JP.UTF-8
2. run yum list 
3.
  
Actual results:
Yum always shows English messages.

Expected results:
Yum shows translated messages if yum supports localized rendering for a language

Additional info:
No ja_JP specific. Applies to other language.

Comment 2 James Antill 2010-12-07 14:20:48 UTC
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.

Comment 3 RHEL Program Management 2010-12-07 14:35:14 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.