Bug 2001211

Summary: Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section when moving the mouse over each resource usage chart in Developer->Project
Product: OpenShift Container Platform Reporter: Xu Rui Li <xurl>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jhadvig, kjeeyar, nmukherj, yapei
Target Milestone: ---Keywords: i18n, Translation
Target Release: 4.12.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:46:45 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
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section
none
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section
none
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section
none
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section
none
Network transfer chart still display English when setting to Chinese language none

Description Xu Rui Li 2021-09-04 10:58:22 UTC
Description of problem:
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section  when moving the mouse over each resource usage chart in Developer->Project

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

4.8
How reproducible:


Steps to Reproduce:
1.Login OpenShift Web console
2.The language preference set to Simplified Chinese language
3.In Developer, access project, click openshift-machine-api project.

Actual results:
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section  when moving the mouse over each resource usage chart in Developer->Project

Expected results:
translated.

Additional info:

Comment 1 Xu Rui Li 2021-09-04 10:59:25 UTC
Created attachment 1820471 [details]
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section

Comment 2 Xu Rui Li 2021-09-04 10:59:44 UTC
Created attachment 1820472 [details]
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section

Comment 3 Xu Rui Li 2021-09-04 11:00:05 UTC
Created attachment 1820473 [details]
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section

Comment 4 Xu Rui Li 2021-09-04 11:00:24 UTC
Created attachment 1820474 [details]
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section

Comment 5 Cyril 2021-10-21 13:51:32 UTC
@jhadvig I think the right component for this bug is Dev Console.

Comment 8 Jakub Hadvig 2022-06-13 12:11:54 UTC
Hey Xu Rui Li
just wan to confirm that the issue is that no all the strings in the cluster utilization graph tooltips are not translated? correct?

Comment 9 Xu Rui Li 2022-06-21 13:12:18 UTC
Created attachment 1891597 [details]
Network transfer chart still display English when setting to Chinese language

Comment 10 Xu Rui Li 2022-06-21 13:14:24 UTC
In Network Transfer chart, the in and out is not translated to Chinese when setting to Chinese language, others fixed and display translation.

Comment 12 Xiyun Zhao 2022-08-05 06:28:47 UTC
Hi @gvudinh, 
1. The period (am =上午 & pm =下午)is missing(Attached: period_issue.gif) could you help to check if it needs to fix?
2. Although the text of "in & out" is in i18n format, still they are not being translated, do we have any plan about when to update the translation file?

Comment 14 Giao Vu Dinh 2022-08-09 15:39:31 UTC
We want to use Intl.DateTimeFormat for all time locales so we don't need to translate the period.

Comment 15 Xiyun Zhao 2022-08-11 07:42:34 UTC
This bug has been verified on payload 4.12.0-0.nightly-arm64-2022-08-10-233415

Verification Step:
1. log in to OCP, change the language to Chinese
2. Switch to Developer perspective, click on one project, eg: openshift-machine-api
3. Add "?pseudolocalization=true&lng=en" at the end of the URL
4. Check if all elements in Utilization section are in i18n format

Result:
4. The mentioned text on CPU, memory, network transfer, and filesystem chart is being translated

Comment 19 errata-xmlrpc 2023-01-17 19:46:45 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.12.0 bug fix and 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:7399