Bug 1985161

Summary: Some localization issues
Product: OpenShift Container Platform Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Steve Goodwin <sgoodwin>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, jokerman, spadgett
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:40:51 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
addsecret-page
none
pseudolocalization of add secret string none

Description Yanping Zhang 2021-07-23 03:22:43 UTC
Created attachment 1804722 [details]
addsecret-page

Description of problem:
There are some fields are not translated in Chinese/Japanese/Korean:
1. On "Add Secret to workload" modal, "addSecretDescription" is not translated in Chinese and Japanese.
frontend/public/dist/locales/ko/public.json:649:  "addSecretDescription": "설명에 시크릿 추가",
frontend/public/dist/locales/en/public.json:658:  "addSecretDescription": "Add all values from <1></1>{{secretName}} to a workload as environment variables or a volume.",
frontend/public/dist/locales/zh/public.json:644:  "addSecretDescription": "addSecretDescription",
frontend/public/dist/locales/ja/public.json:649:  "addSecretDescription": "addSecretDescription",
2. On failed operator detail page, failure info is not translated in Chinese/Japanese/Korean: "This Operator was copied from another namespace. For the reason it failed, see"


Version-Release number of selected component (if applicable):
4.9.0-0.nightly-2021-07-22-015245

How reproducible:
Always


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Steve Goodwin 2021-07-27 17:57:30 UTC
1. The "Add Secret to workload" string will be translated in this pr. https://github.com/openshift/console/pull/9645


2. On failed operator detail page, failure info is not translated in Chinese/Japanese/Korean: "This Operator was copied from another namespace. For the reason it failed, see"
This string has been translated.
https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/locales/zh/olm.json#L58
https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/locales/ja/olm.json#L58
https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/locales/ko/olm.json#L58

The "failure-info" screenshot alert message below is from the api server so it is not expected to be translated.
"install failed: deployment argocd-operator not ready before timeout: deployment "argocd-operator" exceeded its progress deadline"

Comment 4 Yanping Zhang 2021-08-09 10:41:37 UTC
Checked on ocp 4.9 cluster with payload 4.9.0-0.nightly-2021-08-07-175228.
1. There are still strings not translated in "Add to Secret" modal.
2. On failed operator detail page, failure info doesn't contain CSV link for Korean language.

Comment 9 Steve Goodwin 2021-08-24 16:20:36 UTC
(In reply to Yanping Zhang from comment #4)
> Checked on ocp 4.9 cluster with payload 4.9.0-0.nightly-2021-08-07-175228.
> 1. There are still strings not translated in "Add to Secret" modal.
The Japanese, Chinese, and Korean translations have not been provided by the translation team. But the string does now have the correct pseudolocalization characters. See pseudolocalization-addsecret screenshot.


> 2. On failed operator detail page, failure info doesn't contain CSV link for
> Korean language.
I do not understand what & where this missing link should be? This does not seem to be part of the original bug description. If it is different please open a new bug for it.

Comment 10 Steve Goodwin 2021-08-24 16:21:42 UTC
Created attachment 1817181 [details]
pseudolocalization of add secret string

Comment 11 Yanping Zhang 2021-08-30 06:31:37 UTC
Checked on ocp 4.9 cluster with payload 4.9.0-0.nightly-2021-08-29-010334. 
Check "Add to Secret" modal, the translations for all language work now.
Check failed info on intalled operator detail page, the translations for all languages also work now.
The bug is fixed.

Comment 14 errata-xmlrpc 2021-10-18 17:40:51 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.9.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-2021:3759