Bug 1997422

Summary: Hardcode happens when create VolumeSnapshots
Product: OpenShift Container Platform Reporter: Xu Rui Li <xurl>
Component: Management ConsoleAssignee: Steve Goodwin <sgoodwin>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.8CC: aos-bugs, jokerman, schituku, sgoodwin, yapei
Target Milestone: ---Keywords: i18n, Translation
Target Release: 4.9.0   
Hardware: All   
OS: All   
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:48:30 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
'No Persistent Volume Claim in default namespace found' display in English. none

Description Xu Rui Li 2021-08-25 08:38:23 UTC
Created attachment 1817381 [details]
'No Persistent Volume Claim in default namespace found' display in English.

Created attachment 1817381 [details]
'No Persistent Volume Claim in default namespace found' display in English.

Description of problem:
Hardcode happens when creating VolumeSnapshots

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, Japanese, Korean language.
3.In Administrator, access Storage->VolumeSnapshots.
4.Create VolumeSnapshots

Actual results:
On the page, 'No Persistent Volume Claim in default namespace found' display in English.


Expected results:
It should be translatable in Simplified Chinese and Japanese, Korean languages.

Additional info:

Comment 1 Jakub Hadvig 2021-08-26 07:05:54 UTC
So I think the expected result is wrong here, and should be:
'No Persistent Volume Claim in default namespace found' should be translatable in Simplified Chinese and Japanese, Korean languages.

Also Xu could you check if these is similar behaviour like in https://bugzilla.redhat.com/show_bug.cgi?id=1997418#c1 ?

Comment 4 Yanping Zhang 2021-09-02 10:48:49 UTC
Checked on ocp 4.9 cluster with payload 4.9.0-0.nightly-2021-09-01-193941.
1. On create VolumeSnapshots page, the string is marked for translation now: [Ṅṓṓ [ṔḛḛṛṡḭḭṡţḛḛṇţṾṓṓḽṵṵṃḛḛḈḽααḭḭṃ ḭḭṇ ţḛḛṡţṗṛṓṓĵḛḛͼţ ṇααṃḛḛṡṗααͼḛḛ] ϝṓṓṵṵṇḍ]
2. But there is still no translation for Simplified Chinese, Japanese, Korean language, it's shown as "PersistentVolumeClaim in testproject namespace" for all languages.
3. If it's under "All Projects" page, on the create VolumeSnapshots page, it is "No PersistentVolumeClaim in namespace found", should it be "No PersistentVolumeClaim in any namespace found"?

Comment 7 Xu Rui Li 2021-09-04 11:24:31 UTC
 @Jakub Hadvig,

I corrected the expected results.
Thanks.

Comment 10 Siva Reddy 2021-10-05 10:10:47 UTC
ClusterVersion:
4.9.0-0.nightly-2021-10-04-204530

Now the language translation are visible
Steps:
1. On create VolumeSnapshots page, the string is marked for translation now: [Ṅṓṓ [ṔḛḛṛṡḭḭṡţḛḛṇţṾṓṓḽṵṵṃḛḛḈḽααḭḭṃ ḭḭṇ ţḛḛṡţṗṛṓṓĵḛḛͼţ ṇααṃḛḛṡṗααͼḛḛ] ϝṓṓṵṵṇḍ]
2. Change the language to Simplified Chinese, Japanese or Korean  and see the string displayed in that language.

Comment 13 errata-xmlrpc 2021-10-18 17:48:30 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