Bug 2001211 - 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
Summary: Resource usage measurement data display the concatenation of English and tran...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.8
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
: 4.12.0
Assignee: Jakub Hadvig
QA Contact: Xiyun Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-04 10:58 UTC by Xu Rui Li
Modified: 2023-01-17 19:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:46:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section (446.08 KB, image/png)
2021-09-04 10:59 UTC, Xu Rui Li
no flags Details
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section (453.25 KB, image/png)
2021-09-04 10:59 UTC, Xu Rui Li
no flags Details
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section (448.95 KB, image/png)
2021-09-04 11:00 UTC, Xu Rui Li
no flags Details
Resource usage measurement data display the concatenation of English and translation sentence fragments on utilization section (434.19 KB, image/png)
2021-09-04 11:00 UTC, Xu Rui Li
no flags Details
Network transfer chart still display English when setting to Chinese language (259.59 KB, image/jpeg)
2022-06-21 13:12 UTC, Xu Rui Li
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11805 0 None open Bug 2001211: Resource usage measurement data display the concatenati… 2022-07-12 19:36:28 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:46:57 UTC

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


Note You need to log in before you can comment on or make changes to this bug.