Bug 1942673

Summary: Administrator -> Pipelines - i18n misses
Product: OpenShift Container Platform Reporter: Krishna Babu K <kkrothap>
Component: Management ConsoleAssignee: Joe Caiani <jcaiani>
Status: CLOSED ERRATA QA Contact: Xiyun Zhao <xiyuzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.8CC: aos-bugs, jhadvig, jokerman, kkrothap, ralpert, yapei
Target Milestone: ---Keywords: i18n, Translation
Target Release: 4.8.0   
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:28 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
Verification_for_bug1942673 none

Description Krishna Babu K 2021-03-24 17:58:43 UTC
Created attachment 1765992 [details]
i18n misses - pipelines menu

Description of problem:
In Administrator 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-22-064955

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 2 ralpert 2021-04-05 15:49:41 UTC
*** Bug 1942705 has been marked as a duplicate of this bug. ***

Comment 3 Xiyun Zhao 2021-04-12 09:04:41 UTC
Created attachment 1771317 [details]
Verification_for_bug1942673

Comment 4 Xiyun Zhao 2021-04-12 09:05:17 UTC
Below list parts are not fixed in this code change , more details can be found in attached file, please help to check and update.
1. For Pipelines -> Pipelines :
   1) A extra space is added for the sentence of the notice of 'No Pipelines found' and 'No conditions found'
   2) "No PipelineRuns found" and "No PipelineResources found" is not translate
   3) On create pipelines page, below parts is not translate: 
        i. For task parts: 'Add finally task' and it's explanation notice is not translate
       ii. For resource parts: 'Select resource type' notice is not translate on the drop down component
      iii. For Workspaces parts: the check box of 'Optional workspace' is not translate
   4) the title of 'create PipelineRun' and 'create PipelineResource' page is not translate
   5) On the action list of exiting pipeline resource, the option of edit and delete PipelineResource is not update
   6) As same as 1-1, a extra space is added for 'delete pipeline' option on the existing pipeline action list. 
   7) The title of pipeline Resource details and YAML page is not translate, and please also check the nav parts
   8) A extra space is added for the title of delete pipeline pops up page
   9) The title of delete pipeline resource pops up page is not translate
2. For Pipelines -> Task:
   Please check snapshot for more details.
3. For Pipelines -> Trigger
   Please check snapshot for more details.

Build version: 4.8.0-0.nightly-2021-04-09-222447
Pre-condition: Make sure 'RedHat OpenShift Pipelines' has been installed.

Comment 5 ralpert 2021-04-12 18:37:27 UTC
Notes on @xiyuzhao's findings:

1. For Pipelines -> Pipelines :
   1) A extra space is added for the sentence of the notice of 'No Pipelines found' and 'No conditions found' - Translation issue (Rebecca needs to bounce this back to translation and they may or may not be willing to update it)
2) "No PipelineRuns found" and "No PipelineResources found" is not translate - both appear to be pseudolocalized correctly
3) On create pipelines page, below parts is not translate: 
        i. For task parts: 'Add finally task' and it's explanation notice is not translate - appear to be pseudolocalized correctly
       ii. For resource parts: 'Select resource type' notice is not translate on the drop down component - appear to be pseudolocalized correctly
      iii. For Workspaces parts: the check box of 'Optional workspace' is not translate - appear to be pseudolocalized correctly
4) the title of 'create PipelineRun' and 'create PipelineResource' page is not translate - appear to be pseudolocalized correctly
5) On the action list of exiting pipeline resource, the option of edit and delete PipelineResource is not update - appear to be pseudolocalized correctly
6) As same as 1-1, a extra space is added for 'delete pipeline' option on the existing pipeline action list. - Translation issue (Rebecca needs to bounce this back to translation and they may or may not be willing to update it)
7) The title of pipeline Resource details and YAML page is not translate, and please also check the nav parts - appear to be pseudolocalized correctly
8) A extra space is added for the title of delete pipeline pops up page - Translation issue (Rebecca needs to bounce this back to translation and they may or may not be willing to update it)
9) The title of delete pipeline resource pops up page is not translate - appear to be pseudolocalized correctly

2. For Pipelines -> Task:
   Please check snapshot for more details.
* 2-1 - spacing issue is a translation issue (Rebecca needs to bounce this back to translation)
* 2-2 - spacing issue is a translation issue (Rebecca needs to bounce this back to translation) and “Task details” is correctly pseudolocalized
* 2-3 - Correctly pseudolocalized
* 2-4 - Breadcrumbs are correctly pseudolocalized. [Ṫααṡḳ Ṛṵṵṇ ḍḛḛţααḭḭḽṡ] may need the kind localized.
* 2-5 - Correctly pseudolocalized
* 2-6 - Breadcrumbs are correctly pseudolocalized. [Ḉḽṵṵṡţḛḛṛ Ṫααṡḳ ḍḛḛţααḭḭḽṡ] may need the kind localized.
* 2-7 - spacing issue is a translation issue (Rebecca needs to bounce this back to translation) 
* 2-8 - Correctly pseudolocalized
* 2-9 - Correctly pseudolocalized
* 2-10 - Correctly pseudolocalized
* 2-11 - Correctly pseudolocalized

3. For Pipelines -> Trigger
   Please check snapshot for more details.
* 3-1 -  Correctly pseudolocalized
* 3-2 - Correctly psuedolocaized
* 3-3 -  Correctly psuedolocaized
* 3-4 - Correctly pseudolocalized
* 3-5 - Correctly pseudolocalized
* 3-6 - Correctly pseudolocalized
* 3-7 - Breadcrumbs are correctly pseudolocalized; “Event Listener details” may need kind localized
* 3-8 - Correctly pseudolocalized
* 3-9 - Breadcrumbs are correctly pseudolocalized; “Trigger Binding details” may need kind localized

@xiyuzhao - In many cases the translation team has decided to leave the resource kind in English. You can check to see if text has been made available to the translators by using the query parameter &lng=en&pseudolocalization=true at the end of the URL. This will trigger pseudolocalization. I will forward the questions on the Chinese translation spacing to the translation team, but they may or may not be willing to make updates. We can't make updates locally since they will just be overwritten by the translation team when we do the next file handoff.

@jcaiani - It appears only a few details page titles need updates. The other issues are translation-related and I can handle those separately.

Comment 6 ralpert 2021-04-12 19:48:44 UTC
@xiyuzhao - I filed a separate bug for the spacing issues; please let me know if there is an issue I missed or if I made any mistake with what you wanted addressed: https://bugzilla.redhat.com/show_bug.cgi?id=1948720.

Comment 7 Xiyun Zhao 2021-04-13 08:40:50 UTC
@ralpert  
Sure, I will follow your suggestion to do more check.
Thanks for helping to identify the new bug, and I think the description of the new bug is very clear

Comment 8 Xiyun Zhao 2021-04-16 09:33:47 UTC
This bug has been verified and fixed on payload 4.8.0-0.nightly-2021-04-15-152737

Verify Steps:
Pre-condition: Make sure 'RedHat OpenShift Pipelines' has been installed.
1. Login OCP as administrator
2. Add parameter of '&lng=en&pseudolocalization=true' at the end of the URL
3. Follow the attached file, check if all mentioned parts has been translated on Pipeline.

Result:
The mentioned parts has been translated on Pipeline

Comment 11 errata-xmlrpc 2021-07-27 22:55:28 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