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 743732 - [zh_CN] missing translations in subscription-manager -h
Summary: [zh_CN] missing translations in subscription-manager -h
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Bryan Kearney
QA Contact: IDM QE LIST
URL:
Whiteboard:
: 743734 (view as bug list)
Depends On:
Blocks: rhsm-rhel62 747120
TreeView+ depends on / blocked
 
Reported: 2011-10-05 20:31 UTC by John Sefler
Modified: 2011-12-06 17:25 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 17:25:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1695 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2011-12-06 01:23:29 UTC

Description John Sefler 2011-10-05 20:31:47 UTC
Description of problem:

# LANG=zh_CN.UTF8 subscription-manager register -h | grep register
使用:subscription-manager register [OPTIONS]



# LANG=zh_CN.UTF8 subscription-manager -h
Usage: subscription-manager [options] MODULENAME --help
^^^^^ TRANSLATION FOR THIS WORD IS MISSING.  IT SHOULD BE 使用

主模块:

	list           为这台机器列出订阅和产品信息。
	refresh        从该服务器中提出最新订阅数据
	register       在 RHN 里注册客户  
	subscribe      在指定的产品中订阅注册的机器
	unregister     在 RHN 里取消客户的注册
	unsubscribe    在所有订阅或者具体订阅中取消订阅该机器

其它模块(请参考文档):

	clean          Remove all local consumer and subscription data without affecting the server
	config         List, set, or remove the configuration parameters in use by this machine.

                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                       MISSING TRANSLATIONS FOR clean AND config

	environments   显示用户可用的环境
	facts          在这台机器中使用现有详情
	identity       为这台机器显示 ID 证书或者申请一个新的证书
	import         导入工具之外提供的证书
	orgs           显示用户可以注册系统的机构
	redeem         尝试为预先配置的机器兑现订阅
	repos          列出这台机器授权使用的库



Version-Release number of selected component (if applicable):
# rpm -q subscription-manager
subscription-manager-0.96.11-1.el6.x86_64


How reproducible:


Steps to Reproduce:
1. see description
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Bryan Kearney 2011-10-05 20:38:09 UTC

*** This bug has been marked as a duplicate of bug 742128 ***

Comment 2 John Sefler 2011-10-06 13:50:24 UTC
This one untranslated string is NOT a dup of bug 742128 and has never been translated since rhel61 desipite the fact that the word is translated in the other help messages...

# LANG=zh_CN.UTF8 subscription-manager -h
Usage: subscription-manager [options] MODULENAME --help
^^^^^ TRANSLATION FOR THIS WORD IS MISSING.  IT SHOULD BE 使用 AS INDICATED IN THE OTHER HELP MESSAGES SHOWN BELOW

# LANG=zh_CN.UTF8 subscription-manager register -h | grep register
使用:subscription-manager register [OPTIONS]

Comment 4 John Sefler 2011-10-07 12:50:39 UTC
[root@jsefler-onprem-62server ~]# rpm -q subscription-manager
subscription-manager-0.96.13-1.git.0.b1b0502.el6.x86_64

[root@jsefler-onprem-62server ~]# LANG=zh_CN.UTF8 subscription-manager -h | grep subscription-manager
Usage: subscription-manager [options] MODULENAME --help

Error still exists in latest 0.96 build

Comment 5 Bryan Kearney 2011-10-07 17:24:04 UTC
final usage string fixed in b02364db7e119e551d466b48d04916db75de743b

Comment 6 Bryan Kearney 2011-10-07 17:25:03 UTC
*** Bug 743734 has been marked as a duplicate of this bug. ***

Comment 8 John Sefler 2011-10-09 03:28:30 UTC
(In reply to comment #5)
> final usage string fixed in b02364db7e119e551d466b48d04916db75de743b

Not sure what's going on here...  cannot find this commit in master nor RHEL6.2 builds on hudson.  Did it git pushed?


STILL SEEING SEVERAL FAILED CASES...


[root@jsefler-onprem-62server ~]# LANG=fr_FR.UTF8 subscription-manager -h | grep subscription-manager
Usage: subscription-manager [options] MODULENAME --help
^^^^^
THAT'S NOT fr_FR. EXPECTING Utilisation


[root@jsefler-onprem-62server ~]# LANG=zh_CN.UTF8 subscription-manager -h | grep subscription-manager
ব্যৱহাৰ: subscription-manager [বিকল্পসমূহ] MODULENAME --help
^^^^^                        ^^^^^^^
THAT'S NOT zh_CN.  IT'S as_IN.  EXPECTING 使用


[root@jsefler-onprem-62server ~]# LANG=as_IN.UTF8 subscription-manager -h | grep subscription-manager
Usage: subscription-manager [options] MODULENAME --help
^^^^^
THAT'S NOT as_IN.  IN FACT, NO MATTER WHAT I TYPE AFTER LANG=as_IN.UTF8 subscription-manager I FAIL TO GET TRANSLATED RESULTS.


moving back to NEW/FailedQA

Comment 9 Bryan Kearney 2011-10-10 12:23:52 UTC
RHEL 6.2: b02364db7e119e551d466b48d04916db75de743b
Master: 3a2d3ad5cb5900609f9947607b75248d3a680d6d

Comment 10 John Sefler 2011-10-10 14:00:22 UTC
HOT POTATO.. Moving back to to NEW/FailedQA

Not fixed in RHEL62 commit 687a8cf1ad175d732df59e713954d91159f1ae83; still cannot find commit b02364db7e119e551d466b48d04916db75de743b

Not fixed in master commit 3a2d3ad5cb5900609f9947607b75248d3a680d6d

attempt all three cases in comment 8 before putting back ON_QA

Comment 11 Bryan Kearney 2011-10-11 14:55:50 UTC
Two new commits fix the issues. There was a typo in the as.po file. This is fixed in 

master: 37a269921d46b74db0f2b32bc739647aa53263d1
RHEL6.2: 32f7ccac3a8866dfb1176a8caa734b564fcdc4a0


The other is fixed with new strings:

master: 37a269921d46b74db0f2b32bc739647aa53263d1
RHEL6.2: 32f7ccac3a8866dfb1176a8caa734b564fcdc4a0

Comment 13 Shwetha Kallesh 2011-10-12 11:07:38 UTC
Moving the bug to verified.

[root@dhcp193-9 ~]#  LANG=zh_CN.UTF8 subscription-manager -h

使用: subscription-manager [options] MODULENAME --help

主模块:

	list           为这台机器列出订阅和产品信息。
	refresh        从该服务器中提出最新订阅数据
	register       在 RHN 里注册客户  
	subscribe      在指定的产品中订阅注册的机器
	unregister     在 RHN 里取消客户的注册
	unsubscribe    在所有订阅或者具体订阅中取消订阅该机器

其它模块(请参考文档):

	clean          删除所有本地客户和订阅数据而不影响服务器
	config         列出、设置或删除这机器使用的配置参数。
	environments   显示用户可用的环境
	facts          在这台机器中使用现有详情
	identity       为这台机器显示 ID 证书或者申请一个新的证书
	import         导入工具之外提供的证书
	orgs           显示用户可以注册系统的机构
	redeem         尝试为预先配置的机器兑现订阅
	repos          列出这台机器授权使用的库


RPM's used:

[root@dhcp193-9 ~]# rpm -qa | grep subscription-manager
subscription-manager-firstboot-0.97.1-1.git.85.2353df9.el6.x86_64
subscription-manager-gnome-0.97.1-1.git.85.2353df9.el6.x86_64
subscription-manager-0.97.1-1.git.85.2353df9.el6.x86_64

Comment 14 errata-xmlrpc 2011-12-06 17:25:30 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1695.html


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