Bug 688550
Summary: | [zh_CN][zh_TW][subscription-manager]WARNING message is not translated after registered system to RHN using RHN classic technology. | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | yuping zhang <yupzhang> | ||||||||||||||
Component: | subscription-manager | Assignee: | Jin Zhao <jzhao> | ||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> | ||||||||||||||
Severity: | low | Docs Contact: | |||||||||||||||
Priority: | low | ||||||||||||||||
Version: | 6.1 | CC: | bkearney, jzhao, mshao, qe-i18n-bugs, rwu, tchuang, tichen, yupzhang | ||||||||||||||
Target Milestone: | rc | Keywords: | Translation | ||||||||||||||
Target Release: | --- | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
Whiteboard: | |||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||
Clone Of: | Environment: | ||||||||||||||||
Last Closed: | 2011-05-19 13:40:31 UTC | Type: | --- | ||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
Embargoed: | |||||||||||||||||
Bug Depends On: | |||||||||||||||||
Bug Blocks: | 688592 | ||||||||||||||||
Attachments: |
|
Description
yuping zhang
2011-03-17 11:05:00 UTC
Created attachment 485984 [details]
WARNING
this is zn_TW only. -- bk Translation has been updated. Hi Bryan, 1.This WARNING message is not translated in zh_TW.po file. 2.This WARNING message is translated in zh_CN.po file,but cannot display in subscription-manager-gui and subscription-manager register in zh_CN environment. (In reply to comment #3) > this is zn_TW only. > > -- bk The translation has already been updated for zh_TW.po looks like any string from the constants.py file won't get localized at run time, since they'll get imported before the locale is set. Suggestions? Move them out of constants? oh, i sent a patch to the list already :) just made a note to myself about it here. if we initialize the i18n/l10n code before we import anything else, then it's all good. Fix applied to master and RHEL6 branches Created attachment 486673 [details]
zh_CN
VERIFIED...
[root@jsefler-onprem-server ~]# rpm -q subscription-manager-gnome
subscription-manager-gnome-0.95.5-1.git.24.5ce95d1.el6.x86_64
[root@jsefler-onprem-server ~]# touch /etc/sysconfig/rhn/systemid
[root@jsefler-onprem-server ~]# LANG=zh_CN.UTF8 subscription-manager-gui
still waiting on newly translated po file for zh_TW for final verification Created attachment 487190 [details]
PASS(zh_CN)
Created attachment 487191 [details]
FAILED(zh_TW)
Package version:
subscription-manager-firstboot-0.95.5-1.el6.i686
subscription-manager-0.95.5-1.el6.i686
subscription-manager-debuginfo-0.95.5-1.el6.i686
subscription-manager-gnome-0.95.5-1.el6.i686
Verify steps:
# rpm -qa |grep subscription
subscription-manager-firstboot-0.95.5-1.el6.i686
subscription-manager-0.95.5-1.el6.i686
subscription-manager-debuginfo-0.95.5-1.el6.i686
subscription-manager-gnome-0.95.5-1.el6.i686
# LANG=zh_CN.UTF8 subscription-manager-gui
# LANG=zh_TW.UTF8 subscription-manager-gui
Verify result:
zh_CN: PASS
zh_TW: FAILED
0.95.6 will have the latest translations from i18n (BZ 688592). It contains these translations. Created attachment 490143 [details]
PASS(zh_TW)-0.95.6-1
Package version:
subscription-manager-0.95.6-1.el6.i686.rpm
subscription-manager-firstboot-0.95.6-1.el6.i686.rpm
subscription-manager-debuginfo-0.95.6-1.el6.i686.rpm
subscription-manager-gnome-0.95.6-1.el6.i686.rpm
Verify steps:
# rpm -qa |grep subscription
subscription-manager-gnome-0.95.6-1.el6.i686
subscription-manager-firstboot-0.95.6-1.el6.i686
subscription-manager-0.95.6-1.el6.i686
subscription-manager-debuginfo-0.95.6-1.el6.i686
# LANG=zh_TW.UTF8 subscription-manager-gui
Verify result:
zh_TW: PASS
Created attachment 490484 [details]
rhn register
PASS(zh_CH)-0.95.6-1
Package version:
subscription-manager-0.95.6-1.el6.i686.rpm
subscription-manager-firstboot-0.95.6-1.el6.i686.rpm
subscription-manager-debuginfo-0.95.6-1.el6.i686.rpm
subscription-manager-gnome-0.95.6-1.el6.i686.rpm
Verify result:
zh_CH: PASS
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0611.html |