Bug 1989843

Summary: 'More' and 'Show Less' functions are not translated on several page
Product: OpenShift Container Platform Reporter: Xiyun Zhao <xiyuzhao>
Component: Management ConsoleAssignee: Bryan Florkiewicz <bflorkie>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.9CC: aos-bugs, kdoberst, spadgett, yapei
Target Milestone: ---Keywords: i18n, Translation
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-12 04:37:00 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 Xiyun Zhao 2021-08-04 07:45:47 UTC
Description of problem:
 'More' and 'Show Less' functions are not translated on several pages.
The issue happens on Pods, Secrets, BuildConfigs, Builds page, and so on where it has a "Filter" component.

Version-Release number of selected component (if applicable):
4.9

How reproducible:
Always

Steps to Reproduce:
1. Login OCP, add '?pseudolocalization=true&lng=en' at the end of the URL
2. On the Pods page, check more than three options on the 'Filter' component 
3. Verify if 'more' is being translated
4. After clicking the 'more' button, verify if the 'Show Less' button is being translated
5. Do step2-4 on Pod, Secrets, Routes, PersistentVolumeClaims, VolumeSnapshotContents, BuildConfigs, Builds, Alerts, Nodes, Roles, RoleBindings, ClusterSetting-ClusterOperator tab, ResourceQuotas  

Actual results:
3,4 'more' and 'Show Less' is not translated, or in i18n

Expected results:
3,4 'more' and 'Show Less' is translated correctly

Additional info:
This bug requests for more changes to Bug 1986754

Comment 3 Samuel Padgett 2021-09-03 19:32:52 UTC
It looks like the "3 filters applied" text is also not translated. Presumably the PF filter toolbar component has a way to pass custom messages as props.

Comment 5 Xiyun Zhao 2021-09-21 15:38:11 UTC
This bug has been fixed and verified on payload 4.10.0-0.nightly-2021-09-21-080834

Verification Steps:
1. Login OCP, add '?pseudolocalization=true&lng=en' at the end of the URL
2. On the Pods page, check more than three options on the 'Filter' component 
3. Verify if 'more' is being translated
4. After clicking the 'more' button, verify if the 'Show Less' button is being translated
5. Do step2-4 on Pod, Secrets, Routes, PersistentVolumeClaims, VolumeSnapshotContents, BuildConfigs, Builds, Alerts, Nodes, Roles, RoleBindings, ClusterSetting-ClusterOperator tab, ResourceQuotas  

Results:
3,4 'more' and 'Show Less' has been translated (i18n mode) on Pod, Secrets, Routes, PersistentVolumeClaims, VolumeSnapshotContents, and related pages

Comment 9 errata-xmlrpc 2022-03-12 04:37:00 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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056