Bug 1941655 - Developer -> Pipelines - i18n misses
Summary: Developer -> Pipelines - i18n misses
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.8
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Abhinandan Das
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-22 14:49 UTC by Krishna Babu K
Modified: 2021-07-27 22:55 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:55:03 UTC
Target Upstream Version:
Embargoed:
dsantra: needinfo-


Attachments (Terms of Use)
i18n misses - pipelines menu (665.84 KB, application/zip)
2021-03-22 14:49 UTC, Krishna Babu K
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:55:16 UTC

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


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