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 1967780 - [IT] unexpected Italian translation change for msgid="proxy URL in the form of proxy_hostname:proxy_port"
Summary: [IT] unexpected Italian translation change for msgid="proxy URL in the form o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: subscription-manager
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: beta
: 8.5
Assignee: Pino Toscano
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-03 21:47 UTC by John Sefler
Modified: 2021-11-10 07:56 UTC (History)
3 users (show)

Fixed In Version: subscription-manager-1.28.19-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:37:58 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2665 0 None closed 1967780: improve placeholders in help text 2021-06-16 11:49:25 UTC
Github candlepin subscription-manager pull 2671 0 None closed [1.28] 1967780: improve placeholders in help text 2021-06-16 12:41:34 UTC
Red Hat Product Errata RHBA-2021:4390 0 None None None 2021-11-09 19:38:19 UTC

Description John Sefler 2021-06-03 21:47:02 UTC
Description of problem:

In both the weblate subscription-manager-1-28 and subscription-manager-main branch which affects RHEL8.5 and RHEL9.0 respectfully, the following translation was changed from this...

   msgid "proxy URL in the form of proxy_hostname:proxy_port"
   msgstr "URL del proxy in formato proxy_hostname:proxy_port"
                                 ^^^^^^^^^^^^^^ ^^^^^^^^^^
to this...

   msgid "proxy URL in the form of proxy_hostname:proxy_port"
   msgstr "URL del proxy con un formato nomehost_proxy:porta_proxy"
                                     ^^^^^^^^^^^^^^ ^^^^^^^^^^^

The complaint is that "proxy_hostname:proxy_port" can be interpreted as references to the configurations in /etc/rhsm/rhsm.conf which should not be translated since they are program configurations.  For many past releases and all other non-Italian languages, the "proxy_hostname:proxy_port" substring has remained untranslated.


Version-Release number of selected component (if applicable):
[root@kvm-04-guest12 ~]# rpm -q subscription-manager
subscription-manager-1.28.16-1.el8.x86_64

How reproducible:


Steps to Reproduce:
[root@kvm-04-guest12 ~]# msgunfmt /usr/share/locale/it/LC_MESSAGES/rhsm.mo --no-wrap | grep proxy_hostname -A1
msgid "proxy URL in the form of proxy_hostname:proxy_port"
msgstr "URL del proxy con un formato nomehost_proxy:porta_proxy"


Actual results:
   "URL del proxy con un formato nomehost_proxy:porta_proxy"

Expected results:
   "URL del proxy in formato proxy_hostname:proxy_port"

Additional info:
https://translate.fedoraproject.org/translate/subscription-manager/subscription-manager-1-28/it/?checksum=5c01658e12cb825a
https://translate.fedoraproject.org/translate/subscription-manager/subscription-manager-main/it/?checksum=5c01658e12cb825a


Alternative:
Another solution is to simplify the msgid string to...
   "proxy URL in the form of address:port"
which is a little more generic than the current msgid...
   "proxy URL in the form of proxy_hostname:proxy_port"

Comment 1 John Sefler 2021-06-03 22:04:29 UTC
And here is another unexpected Italian translation change...

on RHEL8.5 and RHEL9.0...
[root@kvm-04-guest12 ~]# msgunfmt /usr/share/locale/it/LC_MESSAGES/rhsm.mo --no-wrap | grep "base URL" -A1
msgid "base URL for content in form of https://hostname:port/prefix"
msgstr "URL di base per il contenuto con un formato https://nomehost:porta/prefisso"
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
where "hostname" "port" and "prefix" are all server configurations in /etc/rhsm/rhsm.conf

on RHEL8.4 and earlier...
[root@kvm-01-guest19 ~]# msgunfmt /usr/share/locale/it/LC_MESSAGES/rhsm.mo --no-wrap | grep "base URL" -A1
msgid "base URL for content in form of https://hostname:port/prefix"
msgstr "URL di base per il contenuto con un formato https://hostname:port/prefix"
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Comment 2 John Sefler 2021-06-04 21:57:05 UTC
(In reply to John Sefler from comment #1)

The vote during bug triage was to tolerate the url translation in comment 1 as an acceptable translation.

Comment 3 John Sefler 2021-07-15 14:38:44 UTC
Pre-verification...

[root@kvm-04-guest12 ~]# rpm -q subscription-manager
subscription-manager-1.28.19-1.el8.x86_64
[root@kvm-04-guest12 ~]# rpm -q subscription-manager --changelog | grep 1967780
- 1967780: improve placeholders in help text (ptoscano)
[root@kvm-04-guest12 ~]# 

[root@kvm-04-guest12 ~]# subscription-manager register --help | grep "PROXY_URL"
  --proxy=PROXY_URL     proxy URL in the form of hostname:port

[root@kvm-04-guest12 ~]# msgunfmt /usr/share/locale/it/LC_MESSAGES/rhsm.mo --no-wrap | grep "proxy URL" -A1
[root@kvm-04-guest12 ~]# 


PRE-VERIFIED: The msgid has been changed from "proxy URL in the form of proxy_hostname:proxy_port" to a more generic string "proxy URL in the form of hostname:port" and will require new translations for all the supported languages (this pre-verified build does not include Italian translations for this string and will handled by bug 1944093)


------------------------

[root@kvm-04-guest12 ~]# subscription-manager register --help | grep -A1 "base URL"
  --baseurl=BASE_URL    base URL for content in form of
                        https://hostname:port/prefix
[root@kvm-04-guest12 ~]# 
[root@kvm-04-guest12 ~]# msgunfmt /usr/share/locale/it/LC_MESSAGES/rhsm.mo --no-wrap | grep "base URL" -A1
msgid "base URL for content in form of https://hostname:port/prefix"
msgstr "URL di base per il contenuto con un formato https://nomehost:porta/prefisso"
[root@kvm-04-guest12 ~]# 

PRE-VERIFIED: The msgid and translation referenced in comment 1 remains unchanged as voted in comment 2

Comment 6 Rehana 2021-07-16 12:47:29 UTC
Verifying on :
=============

# subscription-manager version
server type: This system is currently not registered.
subscription management server: 3.2.19-1
subscription management rules: 5.41
subscription-manager: 1.28.19-1.el8

# rpm -q subscription-manager --changelog | grep 1967780
- 1967780: improve placeholders in help text (ptoscano)

# subscription-manager register --help | grep "PROXY_URL"
  --proxy=PROXY_URL     proxy URL in the form of hostname:port --> New message 

# msgunfmt /usr/share/locale/it/LC_MESSAGES/rhsm.mo --no-wrap | grep "proxy URL" -A1
#

# subscription-manager register --help | grep -A1 "base URL"
  --baseurl=BASE_URL    base URL for content in form of
                        https://hostname:port/prefix

# msgunfmt /usr/share/locale/it/LC_MESSAGES/rhsm.mo --no-wrap | grep "base URL" -A1
msgid "base URL for content in form of https://hostname:port/prefix"
msgstr "URL di base per il contenuto con un formato https://nomehost:porta/prefisso"

Moving the bug to Verified!!

Comment 8 errata-xmlrpc 2021-11-09 19:37:58 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 (subscription-manager bug fix and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHBA-2021:4390


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