Bug 1970431

Summary: [dnf][RHEL 8.5 Localization][zh_CN] - Need to localize string "installed products updated" appearing during package installation
Product: Red Hat Enterprise Linux 8 Reporter: Bhushan Barve <bbarve>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: medium    
Version: 8.5CC: amatej, james.antill, jwboyer, ljanda, mblaha, ptoscano
Target Milestone: betaKeywords: Translation, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-29 10:10:28 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:
Attachments:
Description Flags
dnf string unlocalized none

Description Bhushan Barve 2021-06-10 13:20:34 UTC
Created attachment 1789849 [details]
dnf string unlocalized

Description of problem: Need to localize string "installed products updated" appearing after package installation for zh_CN locale. Please refer attached screenshot.


Version-Release number of selected component (if applicable):
dnf-4.4.2-11.el8.noarch
RHEL-8.5.0-20210609.n.0

How reproducible:
always

Steps to Reproduce:
1. Run sudo yum install libreoffice-langpacks OR policycoreutils-gui for zh_CN locale
2. Observe the string appeaing after installation finishes
3.

Actual results:
"installed products updated" is unlocalized

Expected results:
The string "installed products updated" should be localized

Additional info:

Comment 1 Marek Blaha 2021-06-17 08:47:46 UTC
The message "Installed products updated." comes from the subscription manager, so I'm re-assigning it to the correct component.

Comment 2 Pino Toscano 2021-06-29 08:14:17 UTC
Hi Bhushan,

I checked the string mentioned, and it has been available as translatable string for many years, and even translated to zh_CN since 2016. IMHO what you notice could be bug 1878736, which was fixed with subscription-manager-1.28.16-1.el8.

Can you please mention with version of subscription-manager was installed during your tests?

Can you please check with newer versions of subscription-manager whether the mentioned message is still shown as not translated?

Thanks!

Comment 3 Bhushan Barve 2021-06-29 10:10:28 UTC
(In reply to Pino Toscano from comment #2)
> Hi Bhushan,
> 
> I checked the string mentioned, and it has been available as translatable
> string for many years, and even translated to zh_CN since 2016. IMHO what
> you notice could be bug 1878736, which was fixed with
> subscription-manager-1.28.16-1.el8.
> 
> Can you please mention with version of subscription-manager was installed
> during your tests?
> 
> Can you please check with newer versions of subscription-manager whether the
> mentioned message is still shown as not translated?
> 
> Thanks!

Hi Pino,

I checked with the RHEL 8.5 CTC-1 build (20210609.n.3) and the string seems fine now.

[test@localhost ~]$ rpm -qa dnf
dnf-4.4.2-11.el8.noarch
[test@localhost ~]$ rpm -qa subscription-manager
subscription-manager-1.28.16-1.el8.x86_64


--------------------------------------------------------------------------------
总计                                            443 kB/s | 464 kB     00:01     
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
  准备中  :                                                                 1/1 
  安装    : policycoreutils-gui-2.9-14.el8.noarch                           1/1 
  运行脚本: policycoreutils-gui-2.9-14.el8.noarch                           1/1 
  验证    : policycoreutils-gui-2.9-14.el8.noarch                           1/1 
已更新安装的产品。
^^(This is the required string which is translated now.)
已安装:
  policycoreutils-gui-2.9-14.el8.noarch                                         

完毕!

The L10N QA event was conducted before the bug fix (https://bugzilla.redhat.com/show_bug.cgi?id=1878736) and I was not aware that it is fixed now. Thanks for the bug reference. I'll close this one.