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:
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 ?
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"?
@Jakub Hadvig, I corrected the expected results. Thanks.
The language translations of this string are now in the code. Please re check. https://github.com/openshift/console/blob/master/frontend/packages/console-app/locales/ko/console-app.json#L245 https://github.com/openshift/console/blob/master/frontend/packages/console-app/locales/ja/console-app.json#L245 https://github.com/openshift/console/blob/master/frontend/packages/console-app/locales/zh/console-app.json#L245
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.
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