Bug 1944093
| Summary: | [subscription-manager,syspurpose] RHEL 8.5 Tier 0 Localization | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Ludek Janda <ljanda> | |
| Component: | subscription-manager | Assignee: | candlepin-bugs | |
| Status: | CLOSED ERRATA | QA Contact: | QE Internationalization Bugs <qe-i18n-bugs> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.5 | CC: | bbarve, candlepin-bugs, croe, csnyder, jsefler, jwboyer, ljanda, qe-i18n-bugs, redakkan | |
| Target Milestone: | rc | Keywords: | Translation, Triaged | |
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | subscription-manager-1.28.21-3.el8 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2003046 (view as bug list) | Environment: | ||
| Last Closed: | 2021-11-09 19:37:58 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1956764, 2003046 | |||
|
Comment 3
John Sefler
2021-06-14 19:17:12 UTC
Hi John, I agree with you, but you have a native Italian in your team - Pino. This question is rather for him :-) L Ludek, I would like your opinion on these German translations. I have a test that finds msgids with the word "subscription-manager" and fails when they are translated. The thought is that "subscription-manager" should remain untranslated because it is the name of the program that users of all languages must type on the command line regardless of their locale. Here are the three offending tranlations: https://translate.fedoraproject.org/translate/subscription-manager/subscription-manager-1-28/de/?checksum=4538631506ec1ee5&sort_by=-priority,position msgid = Couldn't get system subscription status. Please ensure subscription-manager is installed. msgstr = Der Status des Systemabonnements konnte nicht abgerufen werden. Bitte stellen Sie sicher, dass der Abonnement-Manager installiert ist. ^^^^^^^^^^^^^^^^^^ https://translate.fedoraproject.org/translate/subscription-manager/subscription-manager-1-28/de/?checksum=d82fa5c12f85abf1&sort_by=-priority,position msgid = This system is not registered with an entitlement server. You can use subscription-manager to register. msgstr = Dieses System ist nicht bei einem Berechtigungsserver registriert. Sie können sich mit dem Abo-Manager registrieren. ^^^^^^^^^^^ https://translate.fedoraproject.org/translate/subscription-manager/subscription-manager-1-28/de/?checksum=4d03807b47bd792&sort_by=-priority,position msgid = This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions. msgstr = Dieses System ist bei einem Berechtigungsserver registriert, empfängt jedoch keine Updates. Mit dem Abonnement-Manager können Sie Abonnements zuweisen. ^^^^^^^^^^^^^^^^^^ Remember that when a German user encounters these messages and follows the instructions, they will have to type "subscription-manager" on the command line to use the tool; not "Abonnement-Manager". Ludek, Please review this unchanged translation in French.... https://translate.fedoraproject.org/translate/subscription-manager/subscription-manager-1-28/fr/?checksum=344f1ccfcbea6367&sort_by=-priority,position msgid = Status: $0 msgstr = Status: $0 ^^^^^^ I believe the msgstr above should be "Statut: $0" to match other translations like this one... https://translate.fedoraproject.org/translate/subscription-manager/subscription-manager-1-28/fr/?checksum=3357e4ce403de90&sort_by=-priority,position msgid = Status: msgstr = Statut: Yes, you are right: msgid = Status: msgstr = Statut : with a space btw statut and : if possible Pre-verification of build subscription-manager-1.28.21-3.el8 As indicated in the comments above, 100% translation was completed for Janpanese (and a few extra langs zh_CN,fr,ja,ko) leaving the rest of the langs partially translated. This can be observed in the fedora weblate project... https://translate.fedoraproject.org/projects/subscription-manager/subscription-manager-1-28-21/ Below I will confirm that the translations have been pulled into the latest build of subscription-manager targeted for inclusion in the RHEL-8.5 release. [root@ibm-x3650m4-01-vm-08 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.5 Beta (Ootpa) [root@ibm-x3650m4-01-vm-08 ~]# rpm -q subscription-manager subscription-manager-1.28.21-3.el8.x86_64 [root@ibm-x3650m4-01-vm-08 ~]# rpm -q subscription-manager --changelog | grep 1944093 -B1 * Thu Sep 02 2021 Christopher Snyder <csnyder> 1.28.21-3 - 1944093: Updated translations [root@ibm-x3650m4-01-vm-08 ~]# for L in `rpm -ql subscription-manager | grep rhsm.mo`; do echo ""; echo "counting the translated msgid's in LANG file '$L'..."; msgunfmt --no-wrap $L | egrep ^msgid | wc -l; done; counting the translated msgid's in LANG file '/usr/share/locale/as/LC_MESSAGES/rhsm.mo'... 824 counting the translated msgid's in LANG file '/usr/share/locale/bn_IN/LC_MESSAGES/rhsm.mo'... 849 counting the translated msgid's in LANG file '/usr/share/locale/de/LC_MESSAGES/rhsm.mo'... 1157 counting the translated msgid's in LANG file '/usr/share/locale/es/LC_MESSAGES/rhsm.mo'... 1045 counting the translated msgid's in LANG file '/usr/share/locale/fr/LC_MESSAGES/rhsm.mo'... 1157 counting the translated msgid's in LANG file '/usr/share/locale/gu/LC_MESSAGES/rhsm.mo'... 849 counting the translated msgid's in LANG file '/usr/share/locale/hi/LC_MESSAGES/rhsm.mo'... 849 counting the translated msgid's in LANG file '/usr/share/locale/it/LC_MESSAGES/rhsm.mo'... 1118 counting the translated msgid's in LANG file '/usr/share/locale/ja/LC_MESSAGES/rhsm.mo'... 1157 counting the translated msgid's in LANG file '/usr/share/locale/kn/LC_MESSAGES/rhsm.mo'... 849 counting the translated msgid's in LANG file '/usr/share/locale/ko/LC_MESSAGES/rhsm.mo'... 1157 counting the translated msgid's in LANG file '/usr/share/locale/ml/LC_MESSAGES/rhsm.mo'... 848 counting the translated msgid's in LANG file '/usr/share/locale/mr/LC_MESSAGES/rhsm.mo'... 849 counting the translated msgid's in LANG file '/usr/share/locale/or/LC_MESSAGES/rhsm.mo'... 849 counting the translated msgid's in LANG file '/usr/share/locale/pa/LC_MESSAGES/rhsm.mo'... 774 counting the translated msgid's in LANG file '/usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo'... 1036 counting the translated msgid's in LANG file '/usr/share/locale/ru/LC_MESSAGES/rhsm.mo'... 1036 counting the translated msgid's in LANG file '/usr/share/locale/si/LC_MESSAGES/rhsm.mo'... 3 counting the translated msgid's in LANG file '/usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo'... 849 counting the translated msgid's in LANG file '/usr/share/locale/te/LC_MESSAGES/rhsm.mo'... 849 counting the translated msgid's in LANG file '/usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo'... 1157 counting the translated msgid's in LANG file '/usr/share/locale/zh_TW/LC_MESSAGES/rhsm.mo'... 1037 PRE-VERIFIED: As planned for subscription-manager in rhel-8.5 described in comment 0, LANG [ja] is 100% translated at 1157 messages. Additional LANGS [fr] [zh_CN] [ko] [de] are also 100% translated. The remaining langs are partially translated with fewer than 1157 translations. Pre-verification of build python3-syspurpose-1.28.21-3.el8.x86_64 As indicated in the comments above, 100% translation was completed for Janpanese (and a few extra langs zh_CN,fr,ja,ko) leaving the rest of the langs partially translated. This can be observed in the fedora weblate project... https://translate.fedoraproject.org/projects/subscription-manager/syspurpose-1-28-21/ Below I will confirm that the translations have been pulled into the latest build of syspurpose targeted for inclusion in the RHEL-8.5 release. [root@ibm-x3650m4-01-vm-08 ~]# cat /etc/redhat-release Red Hat Enterprise Linux release 8.5 Beta (Ootpa) [root@ibm-x3650m4-01-vm-08 ~]# rpm -q python3-syspurpose python3-syspurpose-1.28.21-3.el8.x86_64 [root@ibm-x3650m4-01-vm-08 ~]# rpm -q python3-syspurpose --changelog | grep 1944093 -B1 * Thu Sep 02 2021 Christopher Snyder <csnyder> 1.28.21-3 - 1944093: Updated translations [root@ibm-x3650m4-01-vm-08 ~]# for L in `rpm -ql python3-syspurpose | grep syspurpose.mo`; do echo ""; echo "counting the translated msgid's in LANG file '$L'..."; msgunfmt --no-wrap $L | egrep ^msgid | wc -l; done; counting the translated msgid's in LANG file '/usr/share/locale/de/LC_MESSAGES/syspurpose.mo'... 24 counting the translated msgid's in LANG file '/usr/share/locale/es/LC_MESSAGES/syspurpose.mo'... 19 counting the translated msgid's in LANG file '/usr/share/locale/fr/LC_MESSAGES/syspurpose.mo'... 38 counting the translated msgid's in LANG file '/usr/share/locale/it/LC_MESSAGES/syspurpose.mo'... 30 counting the translated msgid's in LANG file '/usr/share/locale/ja/LC_MESSAGES/syspurpose.mo'... 38 counting the translated msgid's in LANG file '/usr/share/locale/ko/LC_MESSAGES/syspurpose.mo'... 38 counting the translated msgid's in LANG file '/usr/share/locale/pt_BR/LC_MESSAGES/syspurpose.mo'... 19 counting the translated msgid's in LANG file '/usr/share/locale/ru/LC_MESSAGES/syspurpose.mo'... 19 counting the translated msgid's in LANG file '/usr/share/locale/si/LC_MESSAGES/syspurpose.mo'... 0 counting the translated msgid's in LANG file '/usr/share/locale/zh_CN/LC_MESSAGES/syspurpose.mo'... 38 counting the translated msgid's in LANG file '/usr/share/locale/zh_TW/LC_MESSAGES/syspurpose.mo'... 19 PRE-VERIFIED: As planned for syspurpose in rhel-8.5 described in comment 0, LANG [ja] is 100% translated at 38 messages. Additional LANGS [fr] [zh_CN] [ko] are also 100% translated. The remaining langs are partially translated with fewer than 38 translations. It would be nice for the name of the command line tool or package (subscription-manager) (which is typed on the command line for all languages) to remain untranslated in the following German translation...
WARNING: Substring "subscription-manager" should remain untranslated in the /usr/share/locale/de/LC_MESSAGES/rhsm.mo translation:
msgid='Couldn't get system subscription status. Please ensure subscription-manager is installed.'
msgstr='Der Status des Systemabonnements konnte nicht abgerufen werden. Bitte stellen Sie sicher, dass der Abonnement-Manager installiert ist.'
A good way to ensure that certain words or phrases remain untranslated is to use variable placeholders that get substituted with fixed strings that remain unmarked for translation. This can be done by the subscription-manager developers.
[root@ibm-x3650m4-01-vm-08 ~]# rpm -q subscription-manager
subscription-manager-1.28.21-3.el8.x86_64
[root@ibm-x3650m4-01-vm-08 ~]# msgunfmt --no-wrap /usr/share/locale/de/LC_MESSAGES/rhsm.mo | grep "Abonnement-Manager" -B1
msgid "Couldn't get system subscription status. Please ensure subscription-manager is installed."
msgstr "Der Status des Systemabonnements konnte nicht abgerufen werden. Bitte stellen Sie sicher, dass der Abonnement-Manager installiert ist."
^^^^^^^^^^^^^^^^^^
subscription-manager
Final Verification that the fixed package has landed in RHEL nightly compose...
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
This System is reserved by jsefler.
To return this system early. You can run the command: return2beaker.sh
Ensure you have your logs off the system before returning to Beaker
To extend your reservation time. You can run the command:
extendtesttime.sh
This is an interactive script. You will be prompted for how many
hours you would like to extend the reservation.
Please ensure that you adhere to the reservation policy
for Beaker systems:
https://home.corp.redhat.com/wiki/extended-reservations-beaker-general-pool-systems
You should verify the watchdog was updated succesfully after
you extend your reservation.
https://beaker.engineering.redhat.com/recipes/10659951
For ssh, kvm, serial and power control operations please look here:
https://beaker.engineering.redhat.com/view/kvm-04-guest10.hv2.lab.eng.bos.redhat.com
For the default root password, see:
https://beaker.engineering.redhat.com/prefs/
Beaker Test information:
HOSTNAME=kvm-04-guest10.hv2.lab.eng.bos.redhat.com
JOBID=5810115
RECIPEID=10659951
RESULT_SERVER=
DISTRO=RHEL-8.5.0-20210916.n.0
ARCHITECTURE=x86_64
Job Whiteboard: RHEL-8.5.0-20210916.n.0 BaseOS x86_64
Recipe Whiteboard:
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
[root@kvm-04-guest10 ~]#
[root@kvm-04-guest10 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 Beta (Ootpa)
[root@kvm-04-guest10 ~]#
[root@kvm-04-guest10 ~]# rpm -q subscription-manager
subscription-manager-1.28.21-3.el8.x86_64
[root@kvm-04-guest10 ~]#
[root@kvm-04-guest10 ~]# rpm -q subscription-managerrpm -ql subscription-manager --changelog | grep -B1 1944093
* Thu Sep 02 2021 Christopher Snyder <csnyder> 1.28.21-3
- 1944093: Updated translations
[root@kvm-04-guest10 ~]#
[root@kvm-04-guest10 ~]# for L in `rpm -ql subscription-manager | grep rhsm.mo`; do echo ""; echo "counting the translated msgid's in LANG file '$L'..."; msgunfmt --no-wrap $L | egrep ^msgid | wc -l; done;
counting the translated msgid's in LANG file '/usr/share/locale/as/LC_MESSAGES/rhsm.mo'...
824
counting the translated msgid's in LANG file '/usr/share/locale/bn_IN/LC_MESSAGES/rhsm.mo'...
849
counting the translated msgid's in LANG file '/usr/share/locale/de/LC_MESSAGES/rhsm.mo'...
1157
counting the translated msgid's in LANG file '/usr/share/locale/es/LC_MESSAGES/rhsm.mo'...
1045
counting the translated msgid's in LANG file '/usr/share/locale/fr/LC_MESSAGES/rhsm.mo'...
1157
counting the translated msgid's in LANG file '/usr/share/locale/gu/LC_MESSAGES/rhsm.mo'...
849
counting the translated msgid's in LANG file '/usr/share/locale/hi/LC_MESSAGES/rhsm.mo'...
849
counting the translated msgid's in LANG file '/usr/share/locale/it/LC_MESSAGES/rhsm.mo'...
1118
counting the translated msgid's in LANG file '/usr/share/locale/ja/LC_MESSAGES/rhsm.mo'...
1157
counting the translated msgid's in LANG file '/usr/share/locale/kn/LC_MESSAGES/rhsm.mo'...
849
counting the translated msgid's in LANG file '/usr/share/locale/ko/LC_MESSAGES/rhsm.mo'...
1157
counting the translated msgid's in LANG file '/usr/share/locale/ml/LC_MESSAGES/rhsm.mo'...
848
counting the translated msgid's in LANG file '/usr/share/locale/mr/LC_MESSAGES/rhsm.mo'...
849
counting the translated msgid's in LANG file '/usr/share/locale/or/LC_MESSAGES/rhsm.mo'...
849
counting the translated msgid's in LANG file '/usr/share/locale/pa/LC_MESSAGES/rhsm.mo'...
774
counting the translated msgid's in LANG file '/usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo'...
1036
counting the translated msgid's in LANG file '/usr/share/locale/ru/LC_MESSAGES/rhsm.mo'...
1036
counting the translated msgid's in LANG file '/usr/share/locale/si/LC_MESSAGES/rhsm.mo'...
3
counting the translated msgid's in LANG file '/usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo'...
849
counting the translated msgid's in LANG file '/usr/share/locale/te/LC_MESSAGES/rhsm.mo'...
849
counting the translated msgid's in LANG file '/usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo'...
1157
counting the translated msgid's in LANG file '/usr/share/locale/zh_TW/LC_MESSAGES/rhsm.mo'...
1037
[root@kvm-04-guest10 ~]#
VERIFIED: As planned for subscription-manager in rhel-8.5 described in comment 0, LANG [ja] is 100% translated at 1157 messages have passed through gating and landed in the RHEL nightly compose. Additional LANGS [fr] [zh_CN] [ko] [de] are also 100% translated. The remaining langs are partially translated with fewer than 1157 translations. This matches the current status of upstream weblate project...
https://translate.fedoraproject.org/projects/subscription-manager/subscription-manager-1-28-21/
Final Verification that the fixed package has landed in RHEL nightly compose...
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
This System is reserved by jsefler.
To return this system early. You can run the command: return2beaker.sh
Ensure you have your logs off the system before returning to Beaker
To extend your reservation time. You can run the command:
extendtesttime.sh
This is an interactive script. You will be prompted for how many
hours you would like to extend the reservation.
Please ensure that you adhere to the reservation policy
for Beaker systems:
https://home.corp.redhat.com/wiki/extended-reservations-beaker-general-pool-systems
You should verify the watchdog was updated succesfully after
you extend your reservation.
https://beaker.engineering.redhat.com/recipes/10659951
For ssh, kvm, serial and power control operations please look here:
https://beaker.engineering.redhat.com/view/kvm-04-guest10.hv2.lab.eng.bos.redhat.com
For the default root password, see:
https://beaker.engineering.redhat.com/prefs/
Beaker Test information:
HOSTNAME=kvm-04-guest10.hv2.lab.eng.bos.redhat.com
JOBID=5810115
RECIPEID=10659951
RESULT_SERVER=
DISTRO=RHEL-8.5.0-20210916.n.0
ARCHITECTURE=x86_64
Job Whiteboard: RHEL-8.5.0-20210916.n.0 BaseOS x86_64
Recipe Whiteboard:
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
[root@kvm-04-guest10 ~]#
[root@kvm-04-guest10 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.5 Beta (Ootpa)
[root@kvm-04-guest10 ~]#
[root@kvm-04-guest10 ~]# rpm -q python3-syspurpose
python3-syspurpose-1.28.21-3.el8.x86_64
[root@kvm-04-guest10 ~]#
[root@kvm-04-guest10 ~]# rpm -ql python3-syspurpose --changelog | grep -B1 1944093
* Thu Sep 02 2021 Christopher Snyder <csnyder> 1.28.21-3
- 1944093: Updated translations
[root@kvm-04-guest10 ~]#
[root@kvm-04-guest10 ~]# for L in `rpm -ql python3-syspurpose | grep syspurpose.mo`; do echo ""; echo "counting the translated msgid's in LANG file '$L'..."; msgunfmt --no-wrap $L | egrep ^msgid | wc -l; done;
counting the translated msgid's in LANG file '/usr/share/locale/de/LC_MESSAGES/syspurpose.mo'...
24
counting the translated msgid's in LANG file '/usr/share/locale/es/LC_MESSAGES/syspurpose.mo'...
19
counting the translated msgid's in LANG file '/usr/share/locale/fr/LC_MESSAGES/syspurpose.mo'...
38
counting the translated msgid's in LANG file '/usr/share/locale/it/LC_MESSAGES/syspurpose.mo'...
30
counting the translated msgid's in LANG file '/usr/share/locale/ja/LC_MESSAGES/syspurpose.mo'...
38
counting the translated msgid's in LANG file '/usr/share/locale/ko/LC_MESSAGES/syspurpose.mo'...
38
counting the translated msgid's in LANG file '/usr/share/locale/pt_BR/LC_MESSAGES/syspurpose.mo'...
19
counting the translated msgid's in LANG file '/usr/share/locale/ru/LC_MESSAGES/syspurpose.mo'...
19
counting the translated msgid's in LANG file '/usr/share/locale/si/LC_MESSAGES/syspurpose.mo'...
0
counting the translated msgid's in LANG file '/usr/share/locale/zh_CN/LC_MESSAGES/syspurpose.mo'...
38
counting the translated msgid's in LANG file '/usr/share/locale/zh_TW/LC_MESSAGES/syspurpose.mo'...
19
[root@kvm-04-guest10 ~]#
VERIFIED: As planned for syspurpose in rhel-8.5 described in comment 0, LANG [ja] is 100% translated at 38 messages have passed through gating and landed in the RHEL nightly compose. Additional LANGS [fr] [zh_CN] [ko] are also 100% translated. The remaining langs are partially translated with fewer than 38 translations. This matches the current status of upstream weblate project...
https://translate.fedoraproject.org/projects/subscription-manager/syspurpose-1-28-21/
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 |