Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1372837

Summary: [zh_CN] msgids containing "Red Hat" should NOT translate this substring
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: redakkan, skallesh, sshedmak
Target Milestone: rcKeywords: Translation
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-11 10:13:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Sefler 2016-09-02 20:37:35 UTC
Description of problem:
Following the precedence from bug 906567, two occurrences were found where the term "Red Hat" should not be translated.


Version-Release number of selected component (if applicable):
[root@jsefler-rhel7 ~]# rpm -q subscription-manager
subscription-manager-1.17.12-1.el7.x86_64


How reproducible:


Steps to Reproduce:
[root@jsefler-rhel7 ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "Please enter your Red Hat account information" -A1
msgid "<b>Please enter your Red Hat account information:</b>"
msgstr "<b>请输入您的红帽帐户信息:</b>"    <================== FIX THIS ONE
--
msgid "Please enter your Red Hat account information:"
msgstr "请输入您的 Red Hat 帐户信息:"



[root@jsefler-rhel7 ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "system with Red Hat to receive" -A1
msgid "This assistant will guide you through the process of registering your system with Red Hat to receive software updates and other benefits. "
msgstr "这个助手程序将为您演示一些步骤,帮助您在红帽注册系统,以便接收软件更新和其他优惠的步骤。 "    <================== FIX THIS TOO
--
msgid "This assistant will guide you through the process of registering your system with Red Hat to receive software updates and other benefits. You will need the following to register:"
msgstr "这个助手将为您演示在 Red Hat 注册系统以便接收软件更新和其他优惠的步骤。您需要以下信息方可注册:"




Actual results:
  above

Expected results:


Additional info:

Comment 1 John Sefler 2016-09-02 20:48:26 UTC
I have manually corrected the translations in Zanata.  Dev simply needs to re-pull the translations and do a new build of subscription-manager.

Comment 2 John Sefler 2016-09-07 12:55:05 UTC
The fix for this was included in subscription-manager RHEL7.3 commit...

Author: Christopher Snyder <csnyder>  2016-09-06 11:47:43
Committer: Christopher Snyder <csnyder>  2016-09-06 11:47:43
Parent: d212f95b1f5eaa88fc99de7f6948edf648ada403 (Automatic commit of package [subscription-manager] release [1.17.12-1].)
Child:  6915477432e2324d75c83c4550294be4e0ab7fa9 (Automatic commit of package [subscription-manager] release [1.17.13-1].)
Branches: RHEL7.3, remotes/origin/RHEL7.3
Follows: subscription-manager-1.17.12-1
Precedes: subscription-manager-1.17.13-1

    1340135: Updates translations, removes unnecessary whitespace

Comment 3 Rehana 2016-09-08 08:54:46 UTC
Reproducing the failure against: 
===================================

[root@localhost dev]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.11-1
subscription management rules: 5.15
subscription-manager: 1.17.12-1.el7
python-rhsm: 1.17.7-1.el7


[root@localhost dev]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "Please enter your Red Hat account information" -A1
msgid "<b>Please enter your Red Hat account information:</b>"
msgstr "<b>请输入您的红帽帐户信息:</b>" --> Issue (1)
--
msgid "Please enter your Red Hat account information:"
msgstr "请输入您的 Red Hat 帐户信息:"
[root@localhost dev]#  msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "system with Red Hat to receive" -A1
msgid "This assistant will guide you through the process of registering your system with Red Hat to receive software updates and other benefits. "
msgstr "这个助手程序将为您演示一些步骤,帮助您在红帽注册系统,以便接收软件更新和其他优惠的步骤。 "
-- --- > Issue (2) 
msgid "This assistant will guide you through the process of registering your system with Red Hat to receive software updates and other benefits. You will need the following to register:"
msgstr "这个助手将为您演示在 Red Hat 注册系统以便接收软件更新和其他优惠的步骤。您需要以下信息方可注册:"


Retesting after upgrading subscription-manager to (1.17.14-1.el7)

# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.11-1
subscription management rules: 5.15
subscription-manager: 1.17.14-1.el7
python-rhsm: 1.17.9-1.el7


# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "Please enter your Red Hat account information" -A1
msgid "<b>Please enter your Red Hat account information:</b>"
msgstr "<b>请输入您的 Red Hat 帐户信息:</b>"===> Fixed
--
msgid "Please enter your Red Hat account information:"
msgstr "请输入您的 Red Hat 帐户信息:"

#  msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "system with Red Hat to receive" -A1
msgid "This assistant will guide you through the process of registering your system with Red Hat to receive software updates and other benefits. "
msgstr "这个助手将为您演示在 Red Hat 注册系统以便接收软件更新和其他优惠的步骤。 " =>fixed
--
msgid "This assistant will guide you through the process of registering your system with Red Hat to receive software updates and other benefits. You will need the following to register:"
msgstr "这个助手将为您演示在 Red Hat 注册系统以便接收软件更新和其他优惠的步骤。您需要以下信息方可注册:"


Observed that now "Red Hat " is not translated. Marking as Verified !!!

Comment 5 Rehana 2020-12-11 10:13:37 UTC
Old bug clean up :
================

Closing the bug with Current release ,the bug was verified by QE during a RHEL release cycle but was not closed.