Created attachment 1791990 [details] Hardcode strings(Control Plane,None,Configure,Cluster,Not available) happen in Home->Overview page. Description of problem: Hardcode strings(Control Plane,None,Configure,Cluster,Not available) happen in Home->Overview page. Version-Release number of selected component (if applicable): OpenShift 4.7.16 How reproducible: Steps to Reproduce: 1.Login OpenShift Web console 2.The language preference set to Simplified Chinese language 3.In Administrator, access Home->Ovewview dashboard 3.In Overview, hardcode strings(Control Plane,None,Configure,Cluster,Not available) happen . Actual results: hardcode strings(Control Plane,None,Configure,Cluster,Not available) happen Expected results: They are translated when the language preference set to Simplified Chinese language Additional info:
In https://kubernetes.io/zh/docs/concepts/overview/components/, 'control plane' is translated into '控制平面' in Simplified Chinese language.
All of these appear to be fixed in 4.8 (and above) so this fix is only needed in 4.7. The fixes into 4.8 are covered in Bug 1924586, Bug 1927465, CONSOLE 2539, CONSOLE 2527. In both 4.8 and the master branch, the entry for "control plane" in Simplified Chinese is "Control Plane" so I'm wondering if the fix for that should be a different bug that can then be applied to current and previous version. I also couldn't find where "None" is set in the console UI code. When using shared clusters, the value I see is "AWS" which makes sense. Wondering if there is a cluster available where I can see the "None" set.
Created attachment 1793781 [details] "None" display when installed Openshift without a provider
Created attachment 1793782 [details] "None" displays in the pseudolocalization environment
Thanks for the info. I was able to verify that the text "None" is being sent into the console from the backend. When I ran the oc describe infrastructures command, the provider is listed as "None" and that is what is displayed. Since the console isn't determining the text to show, it can't be translated.
Created attachment 1795252 [details] latest translation on Home -> Overview page Cluster has been translated with 集群 Not Available has been translated with 不可用 Configure has been translated with 配置 None is something we get from backend so it can't be translated Control Plane is not translated, I'm not sure if there is any proper text it can be translated to
Hi, Could you help confirm if comment 7 is satisfying? I think current translation looks good but please help confirm, thanks!
Shall we fix `Control Plane` translation in this bug or another bug?
My thought is to fix it in another bug. As of right now, `Control Plane` doesn't have a translation in master. All of the other translations in this bug (`Configure`, `Cluster`, and `Not available`) are fixed in 4.8. So if we move the translation of `Control Plane` to another bug, this bug covers items that only need to be fixed in 4.7. The new bug to translate `Control Plane` then is a bug that would cover the fix in multiple versions. With that said, I'm fairly new and don't know how the best way to approach items like this yet. Let me know what you would like to do.
(In reply to Kim Dobestein from comment #11) > My thought is to fix it in another bug. As of right now, `Control Plane` > doesn't have a translation in master. All of the other translations in this > bug (`Configure`, `Cluster`, and `Not available`) are fixed in 4.8. So if > we move the translation of `Control Plane` to another bug, this bug covers > items that only need to be fixed in 4.7. The new bug to translate `Control > Plane` then is a bug that would cover the fix in multiple versions. With > that said, I'm fairly new and don't know how the best way to approach items > like this yet. Let me know what you would like to do. Fair enough, I will move this one to VERIFIED, this is checked against 4.7.0-0.nightly-2021-06-26-014854 @xurl.com please open another bug to track the translation of 'Control Plane'
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 (OpenShift Container Platform 4.7.19 bug fix 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-2021:2554
Opened a new Bug 1982063 - 'Control Plane' is not translated in Simplified Chinese language in Home->Overview page. https://bugzilla.redhat.com/show_bug.cgi?id=1982063