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.
Description of problem:
The strings for "Options" and "show this help message and exit" that appear in all the "subscription-manager MODULE-NAME --help" commands is not renderring as translated. This is strange because these strings exist as translated in the rhsm.mo files.
Version-Release number of selected component (if applicable):
[root@jsefler-7 ~]# rpm -q subscription-manager
subscription-manager-1.10.14-4.el7.x86_64
How reproducible:
Steps to Reproduce:
[root@jsefler-7 ~]# for L in de_DE es_ES fr_FR it_IT ja_JP ko_KR pt_BR ru_RU zh_CN zh_TW as_IN bn_IN hi_IN mr_IN gu_IN kn_IN ml_IN or_IN pa_IN ta_IN te_IN; do echo ""; echo "# LANG=$L.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'"; LANG=$L.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'; done;
# LANG=de_DE.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=es_ES.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=fr_FR.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=it_IT.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=ja_JP.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=ko_KR.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=pt_BR.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=ru_RU.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=zh_CN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=zh_TW.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=as_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=bn_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=hi_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=mr_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=gu_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=kn_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=ml_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=or_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=pa_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=ta_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
# LANG=te_IN.UTF-8 subscription-manager clean --help | grep -B1 -- '-h, --help'
Options:
-h, --help show this help message and exit
Actual results:
above
Expected results:
each of the lines above should show their respective locale translations
Additional info:
[root@jsefler-7 ~]# msgunfmt --no-wrap /usr/share/locale/zh_TW/LC_MESSAGES/rhsm.mo | grep '"Options"' -A1
msgid "Options"
msgstr "選項"
[root@jsefler-7 ~]# msgunfmt --no-wrap /usr/share/locale/zh_TW/LC_MESSAGES/rhsm.mo | grep "show this help message and exit" -A1
msgid "show this help message and exit"
msgstr "顯示此協助訊息並退出"
^^ Evidence that these msgstr exist in the translation files.