Bug 1941655

Summary: Developer -> Pipelines - i18n misses
Product: OpenShift Container Platform Reporter: Krishna Babu K <kkrothap>
Component: Dev ConsoleAssignee: Abhinandan Das <abhindas>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.8CC: aballant, abhindas, aos-bugs, cjerolim, dsantra, kkrothap, msaud, nmukherj
Target Milestone: ---Keywords: i18n, Translation
Target Release: 4.8.0Flags: dsantra: needinfo-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:55:03 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
i18n misses - pipelines menu none

Description Krishna Babu K 2021-03-22 14:49:22 UTC
Created attachment 1765312 [details]
i18n misses - pipelines menu

Description of problem:
In Developer perspective, 'Pipelines' menu navigation has some content in English. Took the screenshots and attached here for reference 

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-03-21-224928

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Content is in English

Expected results:
Content should be in selected language.

Additional info:

Comment 1 Debsmita Santra 2021-04-09 14:44:29 UTC
verified on build 4.8.0-0.nightly-2021-04-09-052339

In the Volume Claim Template dropdown, the radio buttons in the Access Mode and Volume Mode are not translated @abhi

Comment 2 Abhinandan Das 2021-04-20 12:12:40 UTC
@dsantra As discussed, the radios for AccessMode and FileMode are described in the public package in file shared.ts. There are entries for the same under few of the translation packages like node.json
I've tried updating the component file volumeClaimTemplateForm.tsx using comments // t('pipeline-plugins~Filesystem') but this does not create a new entry in translation file after running yarn i18n. Please suggest. cc: @aballentine

Comment 3 Abhinandan Das 2021-04-20 12:13:08 UTC
@dsantra As discussed, the radios for AccessMode and FileMode are described in the public package in file shared.ts. There are entries for the same under few of the translation packages like node.json
I've tried updating the component file volumeClaimTemplateForm.tsx using comments // t('pipeline-plugins~Filesystem') but this does not create a new entry in translation file after running yarn i18n. Please suggest. cc: @aballentine

Comment 4 Andrew Ballantyne 2021-04-27 16:44:50 UTC
From what I can tell the constants are not translated in frontend/public/components/storage/shared.ts. This is shared data with the PersistentVolumeClaim (PVC) page and it's not translated either.

Not sure this is directly related to this original bug @dsantra -- did we want to push this back into In Progress and address this issue or create a new one to translate the PersistentVolumeClaim page?

Comment 5 Christoph Jerolimov 2021-04-30 10:42:43 UTC
@aballant @abhindas I verified all the highlighted issues from the zip file and they are fixed. At least pseudo localization works, some of are already translated to other languages, but not every thing yet.

Also the mentioned persistent options for a workspace like "Empty Directory", "Config Map", "Secret", "PersistentVolumeClaim" and  "VolumeClaimTemplate" are translated (or at least prepared).

For the left over values when the user selects "VolumeClaimTemplate" and "Show [advanced] VolumeClaimTemplate options" I created another issue https://issues.redhat.com/browse/ODC-5802.

Hope its fine to close this for now and work on this asap.

Verified everything else on 4.8.0-0.nightly-2021-04-29-222100

Comment 6 Christoph Jerolimov 2021-04-30 10:46:08 UTC
(trigger jira)

Comment 9 errata-xmlrpc 2021-07-27 22:55:03 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.8.2 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:2438