Bug 1985161 - Some localization issues
Summary: Some localization issues
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.9.0
Assignee: Steve Goodwin
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-23 03:22 UTC by Yanping Zhang
Modified: 2021-10-18 17:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:40:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
addsecret-page (61.57 KB, image/png)
2021-07-23 03:22 UTC, Yanping Zhang
no flags Details
pseudolocalization of add secret string (143.09 KB, image/png)
2021-08-24 16:21 UTC, Steve Goodwin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9645 0 None open Bug 1985161: Fix translation of incorrect addSecretDescription string within modal 2021-07-27 17:48:29 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:41:03 UTC

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


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