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 2013156

Summary: [ALL_LANG][RHSM CLI] Unlocalized message in addons module.
Product: Red Hat Enterprise Linux 8 Reporter: Lijun Li <lijli>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.5CC: jsefler, ljanda, qe-i18n-bugs
Target Milestone: rcKeywords: i18n, Translation
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-17 18:40:30 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 Lijun Li 2021-10-12 09:09:32 UTC
Description of problem:
[ALL_LANG][RHSM CLI] Unlocalized message in addons module. 

Version-Release number of selected component (if applicable):
subscription-manager-1.28.21-2.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Run RHSM CLI with latest rhel8 workstation build.

Actual results:
[root@localhost ~]# subscription-manager addons --list
There are no available values for the system purpose "addons" from the available subscriptions in this organization.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized strings^^^^^^^^^^^^^^^^^^^^^^^^^
[root@localhost ~]# subscription-manager addons --add test
Warning: This organization does not have any subscriptions that provide a system purpose "addons".  This setting will not influence auto-attaching subscriptions.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Unlocalized strings^^^^^^^^^^^^^^^^^^^^^^^^^
addons を更新しました。


Expected results:
It should be localized.

Additional info:

Comment 1 John Sefler 2021-10-15 13:54:12 UTC
Please re-test with subscription-manager-1.28.21-3.el8 from https://errata.devel.redhat.com/advisory/75537/builds

[root@kvm-01-guest10 ~]# rpm -q subscription-manager
subscription-manager-1.28.21-3.el8.x86_64

[root@kvm-01-guest10 ~]# msgunfmt --no-wrap /usr/share/locale/ja/LC_MESSAGES/rhsm.mo | grep -A1 "There are no available"
msgid "There are no available values for the system purpose \"{syspurpose_attr}\" from the available subscriptions in this organization."
msgstr "この組織には、利用可能なサブスクリプションからシステム目的の「{syspurpose_attr}」に使用できる値がありません。"

[root@kvm-01-guest10 ~]# msgunfmt --no-wrap /usr/share/locale/ja/LC_MESSAGES/rhsm.mo | grep -A1 "This organization does not have"
msgid "Warning: This organization does not have any subscriptions that provide a system purpose \"{attr}\".  This setting will not influence auto-attaching subscriptions."
msgstr "警告: この組織には、システム目的「{attr}」を提供するサブスクリプションがありません。この設定は、自動割り当てサブスクリプションには影響しません。"
[root@kvm-01-guest10 ~]# 


Note: all langs are not 100% translated - see bug 1944093

Comment 2 Lijun Li 2021-10-25 08:05:16 UTC
Verified it's fixed on latest build.

[root@localhost ~]# rpm -q subscription-manager
subscription-manager-1.28.21-3.el8.x86_64
[root@localhost ~]# subscription-manager addons --list
この組織には、利用可能なサブスクリプションからシステム目的の「addons」に使用できる値がありません。
[root@localhost ~]# subscription-manager addons --add test
警告: この組織には、システム目的「addons」を提供するサブスクリプションがありません。この設定は、自動割り当てサブスクリプションには影響しません。
addons を更新しました。

Comment 3 Pino Toscano 2022-02-17 18:40:30 UTC
Fixed in RHEL 8.5, closing accordingly.