Bug 1917585 - OLM Operator install page missing i18n
Summary: OLM Operator install page missing i18n
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 4.7.0
Assignee: Jon Jackson
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-18 20:10 UTC by Jon Jackson
Modified: 2021-02-24 15:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:54:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
01 - placeholder text not pseudolocalized (47.68 KB, image/png)
2021-01-22 08:30 UTC, Yadan Pei
no flags Details
02 - error message not pseudolocalized (20.52 KB, image/png)
2021-01-22 08:31 UTC, Yadan Pei
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 7858 0 None closed Bug 1917585: Clean up olm i18n and catch some missed translations. 2021-01-25 15:31:36 UTC
Github openshift console pull 7917 0 None open Bug 1917585: Follow-on for NsDropdown placeholder i18n. 2021-01-25 15:31:08 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:54:41 UTC

Description Jon Jackson 2021-01-18 20:10:34 UTC
Description of problem:
Some strings missing i18n on the operator subscription page

Version-Release number of selected component (if applicable):
4.7

How reproducible:
Always

Steps to Reproduce:
1. Visit the admin console and add the url search params `?pseudolocalization=true&lng=en`
2. Navigate to OperatorHub
3. Click any Operator that isn't already installed in the current Namespace
4. Click Install (dismiss Community operator alert if you encounter it)

Actual results:
Most of the text on the Operator install page is not pseudolocalized.

Expected results:
All of the static text (form field labels, help text, static radio options, alerts, button text, etc.) on the Operator install page should be pseudolocalized.

Comment 2 Yadan Pei 2021-01-22 08:30:30 UTC
Created attachment 1749647 [details]
01 - placeholder text not pseudolocalized

Comment 3 Yadan Pei 2021-01-22 08:31:01 UTC
Created attachment 1749648 [details]
02 - error message not pseudolocalized

Comment 4 Yadan Pei 2021-01-22 08:31:28 UTC
1. Placeholder text 'Selected Namespace' for Installed Namespace dropdown is not pseudolocalized, see attachment 01 [details] - placeholder text not pseudolocalized 
2. When clicking 'Install' button without choosing namespace, it will throw error `namespaces "undefined" not found`, this error message is not pseudolocalized, see attachment 02 [details] - error message not pseudolocalized

Assigning back to double confirm

Comment 5 Jon Jackson 2021-01-25 15:37:31 UTC
(In reply to Yadan Pei from comment #4)
> 1. Placeholder text 'Selected Namespace' for Installed Namespace dropdown is
> not pseudolocalized, see attachment 01 [details] - placeholder text not
> pseudolocalized 
> 2. When clicking 'Install' button without choosing namespace, it will throw
> error `namespaces "undefined" not found`, this error message is not
> pseudolocalized, see attachment 02 [details] - error message not
> pseudolocalized
> 
> Assigning back to double confirm

I've opened a follow on PR for #1, but #2 is expected. That error message is coming directly from the API response, so we can't always translate it. We do have a fallback value that is displayed if the API call fails without an error message. I checked and my PR does include that fallback message in the translations, so I think we have covered that error alert as much as we can.

Comment 7 Yadan Pei 2021-01-27 01:54:00 UTC
1. Visit the admin console and add the url search params `?pseudolocalization=true&lng=en`
2. Navigate to OperatorHub
3. Click any Operator that isn't already installed in the current Namespace
4. Click Install (dismiss Community operator alert if you encounter it)

Check static text (form field labels, help text, static radio options, alerts, button text, etc.) on the Operator install page, all have been pseudolocalized


Verified on 4.7.0-0.nightly-2021-01-26-162323

Comment 10 errata-xmlrpc 2021-02-24 15:54:15 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.7.0 security, bug fix, and enhancement 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-2020:5633


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