Bug 2139762

Summary: [subscription-manager syspurpose] RHEL 8.8 Tier 0 Localization
Product: Red Hat Enterprise Linux 8 Reporter: Ludek Janda <ljanda>
Component: subscription-managerAssignee: Pino Toscano <ptoscano>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: bbarve, cdonnell, jsefler, jwboyer, lijli, ljanda, redakkan
Target Milestone: rcKeywords: Translation, Triaged
Target Release: 8.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.28.35-1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 09:07:12 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:

Comment 4 John Sefler 2023-02-13 18:11:05 UTC
Pre-verifying build...

[root@kvm-04-guest03 ~]# rpm -q subscription-manager
subscription-manager-1.28.35+16.gbc1e6dd23-1.git.0.3bd85ca.x86_64
[root@kvm-04-guest03 ~]# rpm -q subscription-manager --changelog | egrep -i "Weblate|^\*" | head
* Fri Feb 10 2023 RHSM-QE Jenkins <rhsm-qe> 1.28.35+16.gbc1e6dd23-1
* Fri Jan 20 2023 Pino Toscano <ptoscano> 1.28.35-1
- Translated using Weblate (Spanish) (ptoscano)
- Translated using Weblate (Georgian) (temuri.doghonadze)
- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda)   <==== MOST RECENT TRANSLATIONS FOR zh_CN
- Translated using Weblate (Korean) (simmon)   <==== MOST RECENT TRANSLATIONS FOR ko
- Update translation files (noreply)
- Translated using Weblate (German) (atalanttore)
* Fri Dec 02 2022 Pino Toscano <ptoscano> 1.28.34-1
- Translated using Weblate (Japanese) (suanand)   <==== MOST RECENT TRANSLATIONS FOR ja

This pre-released subscription-manager-1.28.35+16.gbc1e6dd23-1.git.0.3bd85ca.x86_64 build includes the most recent translation commits from these pull requests which provide "100% translated strings in ja, zh-cn and ko" as expected in comment 0.
https://github.com/candlepin/subscription-manager/pull/3158/commits
https://github.com/candlepin/subscription-manager/pull/3175/commits

[root@kvm-04-guest03 ~]# for L in `rpm -ql subscription-manager | egrep "rhsm.mo"`; do echo ""; echo "counting the translated msgids in LANG file '$L'..."; msgunfmt --no-wrap $L | egrep "^msgid " | wc -l; done;

counting the translated msgids in LANG file '/usr/share/locale/as/LC_MESSAGES/rhsm.mo'...
791

counting the translated msgids in LANG file '/usr/share/locale/bn_IN/LC_MESSAGES/rhsm.mo'...
816

counting the translated msgids in LANG file '/usr/share/locale/de/LC_MESSAGES/rhsm.mo'...
1127

counting the translated msgids in LANG file '/usr/share/locale/es/LC_MESSAGES/rhsm.mo'...
1158

counting the translated msgids in LANG file '/usr/share/locale/fr/LC_MESSAGES/rhsm.mo'...
1210

counting the translated msgids in LANG file '/usr/share/locale/gu/LC_MESSAGES/rhsm.mo'...
816

counting the translated msgids in LANG file '/usr/share/locale/hi/LC_MESSAGES/rhsm.mo'...
816

counting the translated msgids in LANG file '/usr/share/locale/it/LC_MESSAGES/rhsm.mo'...
1118

counting the translated msgids in LANG file '/usr/share/locale/ja/LC_MESSAGES/rhsm.mo'...
1210

counting the translated msgids in LANG file '/usr/share/locale/kn/LC_MESSAGES/rhsm.mo'...
816

counting the translated msgids in LANG file '/usr/share/locale/ko/LC_MESSAGES/rhsm.mo'...
1210

counting the translated msgids in LANG file '/usr/share/locale/ml/LC_MESSAGES/rhsm.mo'...
815

counting the translated msgids in LANG file '/usr/share/locale/mr/LC_MESSAGES/rhsm.mo'...
816

counting the translated msgids in LANG file '/usr/share/locale/or/LC_MESSAGES/rhsm.mo'...
816

counting the translated msgids in LANG file '/usr/share/locale/pa/LC_MESSAGES/rhsm.mo'...
741

counting the translated msgids in LANG file '/usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo'...
988

counting the translated msgids in LANG file '/usr/share/locale/ru/LC_MESSAGES/rhsm.mo'...
988

counting the translated msgids in LANG file '/usr/share/locale/si/LC_MESSAGES/rhsm.mo'...
2

counting the translated msgids in LANG file '/usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo'...
816

counting the translated msgids in LANG file '/usr/share/locale/te/LC_MESSAGES/rhsm.mo'...
816

counting the translated msgids in LANG file '/usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo'...
1210

counting the translated msgids in LANG file '/usr/share/locale/zh_TW/LC_MESSAGES/rhsm.mo'...
988

PREVERIFIED: languages [ja,fr,ko,zh_CN] have 100% (1210) of the msgids currently translated for the benefit of RHEL-8.8 from...
https://translate.fedoraproject.org/projects/subscription-manager/subscription-manager-1-28/

PREVERIFIED: as required from comment 0 "100% translated strings in ja, zh-cn and ko" are complete.  Additional 100% translation for French language fr is a bonus.  All remaining languages are partially translated.

Note: This verification comment does not verify the quality of the translations (this requires expertise in both the language and the packages); it simply confirms that the task to translate the required langs in comment 0 has been completed and pulled into the latest build of subscription-manager targeted for delivery on RHEL-8.8.

Comment 5 John Sefler 2023-02-13 18:26:00 UTC
Pre-verifying build...

[root@kvm-04-guest03 ~]# rpm -q python3-syspurpose
python3-syspurpose-1.28.35+16.gbc1e6dd23-1.git.0.3bd85ca.x86_64
[root@kvm-04-guest03 ~]# rpm -q python3-syspurpose --changelog | egrep -i "Weblate|^\*" | head
* Fri Feb 10 2023 RHSM-QE Jenkins <rhsm-qe> 1.28.35+16.gbc1e6dd23-1
* Fri Jan 20 2023 Pino Toscano <ptoscano> 1.28.35-1
- Translated using Weblate (Spanish) (ptoscano)
- Translated using Weblate (Georgian) (temuri.doghonadze)
- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda)   <==== MOST RECENT TRANSLATIONS FOR zh_CN
- Translated using Weblate (Korean) (simmon)   <==== MOST RECENT TRANSLATIONS FOR ko
- Update translation files (noreply)
- Translated using Weblate (German) (atalanttore)
* Fri Dec 02 2022 Pino Toscano <ptoscano> 1.28.34-1
- Translated using Weblate (Japanese) (suanand)   <==== MOST RECENT TRANSLATIONS FOR ja

This pre-released python3-syspurpose-1.28.35+16.gbc1e6dd23-1.git.0.3bd85ca.x86_64 build includes the most recent translation commits from these pull requests which provide "100% translated strings in ja, zh-cn and ko" as expected in comment 0.
https://github.com/candlepin/subscription-manager/pull/3158/commits
https://github.com/candlepin/subscription-manager/pull/3175/commits

[root@kvm-04-guest03 ~]# for L in `rpm -ql python3-syspurpose | egrep "syspurpose.mo"`; do echo ""; echo "counting the translated msgids in LANG file '$L'..."; msgunfmt --no-wrap $L | egrep "^msgid " | wc -l; done;

counting the translated msgids in LANG file '/usr/share/locale/de/LC_MESSAGES/syspurpose.mo'...
37

counting the translated msgids in LANG file '/usr/share/locale/es/LC_MESSAGES/syspurpose.mo'...
31

counting the translated msgids in LANG file '/usr/share/locale/fr/LC_MESSAGES/syspurpose.mo'...
71

counting the translated msgids in LANG file '/usr/share/locale/it/LC_MESSAGES/syspurpose.mo'...
61

counting the translated msgids in LANG file '/usr/share/locale/ja/LC_MESSAGES/syspurpose.mo'...
71

counting the translated msgids in LANG file '/usr/share/locale/ka/LC_MESSAGES/syspurpose.mo'...
12

counting the translated msgids in LANG file '/usr/share/locale/ko/LC_MESSAGES/syspurpose.mo'...
71

counting the translated msgids in LANG file '/usr/share/locale/pt_BR/LC_MESSAGES/syspurpose.mo'...
18

counting the translated msgids in LANG file '/usr/share/locale/ru/LC_MESSAGES/syspurpose.mo'...
18

counting the translated msgids in LANG file '/usr/share/locale/si/LC_MESSAGES/syspurpose.mo'...
0

counting the translated msgids in LANG file '/usr/share/locale/zh_CN/LC_MESSAGES/syspurpose.mo'...
71

counting the translated msgids in LANG file '/usr/share/locale/zh_TW/LC_MESSAGES/syspurpose.mo'...
18


PREVERIFIED: languages [ja,fr,ko,zh_CN] have 100% (71) of the msgids currently translated for the benefit of RHEL-8.8 from...
https://translate.fedoraproject.org/projects/subscription-manager/syspurpose-1-28/

PREVERIFIED: as required from comment 0 "100% translated strings in ja, zh-cn and ko" are complete.  Additional 100% translation for French language fr is a bonus.  All remaining languages are partially translated.

Note: This verification comment does not verify the quality of the translations (this requires expertise in both the language and the packages); it simply confirms that the task to translate the required langs in comment 0 has been completed and pulled into the latest build of python3-syspurpose targeted for delivery on RHEL-8.8.

Comment 8 John Sefler 2023-02-28 20:17:51 UTC
Verifying Version/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/13472805

 For ssh, kvm, serial and power control operations please look here:
  https://beaker.engineering.redhat.com/view/kvm-01-guest04.lab.eng.rdu2.redhat.com

 For the default root password, see:
  https://beaker.engineering.redhat.com/prefs/

      Beaker Test information:
                         HOSTNAME=kvm-01-guest04.lab.eng.rdu2.redhat.com
                            JOBID=7580231
                         RECIPEID=13472805
                    RESULT_SERVER=
                           DISTRO=RHEL-8.8.0-20230228.22
                     ARCHITECTURE=x86_64

      Job Whiteboard: Reserve Workflow provision of distro RHEL-8.8.0-20230228.22 on any lab system for 86400 seconds

      Recipe Whiteboard: 
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
[root@kvm-01-guest04 ~]# 
[root@kvm-01-guest04 ~]# rpm -q subscription-manager
subscription-manager-1.28.36-2.el8.x86_64
[root@kvm-01-guest04 ~]# 
[root@kvm-01-guest04 ~]# rpm -q subscription-manager --changelog | egrep -i "Weblate|^\*" | head -16
* Wed Feb 22 2023 Pino Toscano <ptoscano> 1.28.36-2
- Translated using Weblate (French) (ljanda)
- Translated using Weblate (French) (suanand)
- Translated using Weblate (Korean) (jsefler)
* Fri Jan 20 2023 Pino Toscano <ptoscano> 1.28.35-1
- Translated using Weblate (Spanish) (ptoscano)
- Translated using Weblate (Georgian) (temuri.doghonadze)
- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda)
- Translated using Weblate (Korean) (simmon)
- Update translation files (noreply)
- Translated using Weblate (German) (atalanttore)
* Fri Dec 02 2022 Pino Toscano <ptoscano> 1.28.34-1
- Translated using Weblate (Japanese) (suanand)
- Translated using Weblate (French) (vincent.lefebvre59)
- Translated using Weblate (Korean) (simmon)
* Mon Oct 31 2022 Christopher Snyder <csnyder> 1.28.33-1
[root@kvm-01-guest04 ~]# 
[root@kvm-01-guest04 ~]# for L in `rpm -ql subscription-manager | egrep "/ja/|/zh_CN/|/ko/|/fr/"`; do echo ""; echo "counting the translated msgids in LANG file '$L'..."; msgunfmt --no-wrap $L | egrep "^msgid " | wc -l; done;

counting the translated msgids in LANG file '/usr/share/locale/fr/LC_MESSAGES/rhsm.mo'...
1210

counting the translated msgids in LANG file '/usr/share/locale/ja/LC_MESSAGES/rhsm.mo'...
1210

counting the translated msgids in LANG file '/usr/share/locale/ko/LC_MESSAGES/rhsm.mo'...
1210

counting the translated msgids in LANG file '/usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo'...
1210
[root@kvm-01-guest04 ~]# 


VERIFIED: These steps verify that version subscription-manager-1.28.36-2.el8 derives from the fixed version subscription-manager-1.28.35-1.el8 and is included in the RHEL-8.8.0-20230228.22 compose and provides 100% translations (1210 translated msgIds) for expected Languages [ja,zh_CN,ko] plus [fr].

DISCLAIMER: This verification comment does not verify the quality of the translations (this requires expertise in both the language and the packages); it simply confirms that the task to translate the required langs in comment 0 has been completed, fixed by subscription-manager-1.28.35-1.el8, and included in the RHEL-8.8.0-20230228.22 compose.

Comment 9 John Sefler 2023-02-28 20:23:08 UTC
Verifying Version/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/13472805

 For ssh, kvm, serial and power control operations please look here:
  https://beaker.engineering.redhat.com/view/kvm-01-guest04.lab.eng.rdu2.redhat.com

 For the default root password, see:
  https://beaker.engineering.redhat.com/prefs/

      Beaker Test information:
                         HOSTNAME=kvm-01-guest04.lab.eng.rdu2.redhat.com
                            JOBID=7580231
                         RECIPEID=13472805
                    RESULT_SERVER=
                           DISTRO=RHEL-8.8.0-20230228.22
                     ARCHITECTURE=x86_64

      Job Whiteboard: Reserve Workflow provision of distro RHEL-8.8.0-20230228.22 on any lab system for 86400 seconds

      Recipe Whiteboard: 
**  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **  **
[root@kvm-01-guest04 ~]# 
[root@kvm-01-guest04 ~]# rpm -q python3-syspurpose
python3-syspurpose-1.28.36-2.el8.x86_64
[root@kvm-01-guest04 ~]# 
[root@kvm-01-guest04 ~]# rpm -q python3-syspurpose --changelog | egrep -i "Weblate|^\*" | head -16
* Wed Feb 22 2023 Pino Toscano <ptoscano> 1.28.36-2
- Translated using Weblate (French) (ljanda)
- Translated using Weblate (French) (suanand)
- Translated using Weblate (Korean) (jsefler)
* Fri Jan 20 2023 Pino Toscano <ptoscano> 1.28.35-1
- Translated using Weblate (Spanish) (ptoscano)
- Translated using Weblate (Georgian) (temuri.doghonadze)
- Translated using Weblate (Chinese (Simplified) (zh_CN)) (ljanda)
- Translated using Weblate (Korean) (simmon)
- Update translation files (noreply)
- Translated using Weblate (German) (atalanttore)
* Fri Dec 02 2022 Pino Toscano <ptoscano> 1.28.34-1
- Translated using Weblate (Japanese) (suanand)
- Translated using Weblate (French) (vincent.lefebvre59)
- Translated using Weblate (Korean) (simmon)
* Mon Oct 31 2022 Christopher Snyder <csnyder> 1.28.33-1
[root@kvm-01-guest04 ~]# 
[root@kvm-01-guest04 ~]# for L in `rpm -ql python3-syspurpose | egrep "/ja/|/zh_CN/|/ko/|/fr/"`; do echo ""; echo "counting the translated msgids in LANG file '$L'..."; msgunfmt --no-wrap $L | egrep "^msgid " | wc -l; done;

counting the translated msgids in LANG file '/usr/share/locale/fr/LC_MESSAGES/syspurpose.mo'...
71

counting the translated msgids in LANG file '/usr/share/locale/ja/LC_MESSAGES/syspurpose.mo'...
71

counting the translated msgids in LANG file '/usr/share/locale/ko/LC_MESSAGES/syspurpose.mo'...
71

counting the translated msgids in LANG file '/usr/share/locale/zh_CN/LC_MESSAGES/syspurpose.mo'...
71
[root@kvm-01-guest04 ~]# 


VERIFIED: These steps verify that version python3-syspurpose-1.28.36-2.el8 derives from the fixed version python3-syspurpose-1.28.35-1.el8 and is included in the RHEL-8.8.0-20230228.22 compose and provides 100% translations (71 translated msgIds) for expected Languages [ja,zh_CN,ko] plus [fr].

DISCLAIMER: This verification comment does not verify the quality of the translations (this requires expertise in both the language and the packages); it simply confirms that the task to translate the required langs in comment 0 has been completed, fixed by python3-syspurpose-1.28.35-1.el8, and included in the RHEL-8.8.0-20230228.22 compose.

Comment 12 errata-xmlrpc 2023-05-16 09:07:12 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-2023:2984