Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1879811 - [ALL_LANG] [SAT_6.8 | 6.9 | 6.10|6.11 ] Web elements are not localized (Available Button, ON/OFF Switch Button)
Summary: [ALL_LANG] [SAT_6.8 | 6.9 | 6.10|6.11 ] Web elements are not localized (Avail...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: 6.12.0
Assignee: Chris Roberts
QA Contact: Shweta Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-17 05:37 UTC by visawant
Modified: 2023-09-18 00:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 13:32:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Non localized strings on web element. (245.59 KB, image/png)
2020-09-17 05:37 UTC, visawant
no flags Details
search translated correctly. (305.89 KB, image/png)
2022-05-17 15:28 UTC, Chris Roberts
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34933 0 Normal Ready For Testing Web elements are not localized (Available Button 2022-05-17 15:46:05 UTC
Github Katello katello pull 10118 0 None open Fixes #34933 - Add translate to search dropdown on rh repo page 2022-05-17 15:46:05 UTC
Red Hat Issue Tracker SAT-10341 0 None None None 2022-05-17 15:48:42 UTC
Red Hat Product Errata RHSA-2022:8506 0 None None None 2022-11-16 13:32:36 UTC

Description visawant 2020-09-17 05:37:50 UTC
Created attachment 1715166 [details]
Non localized strings on web element.

Created attachment 1715166 [details]
Non localized strings on web element.

Description of problem: In locale ja_JP, zh_CN, pt_BR, fr_FR, and es_ES, Text on web element are not translated as per locale.


Version-Release number of selected component (if applicable):Satellite 6.8.0 Beta


How reproducible: Always


Steps to Reproduce:
1. Login to Satellite 6.8 instance with any locale.
2. Navigate to Content - Red Hat Repositories.
3. Look for 'Available' drop down, 'Search' button, 'ON/OFF' switch button.

Actual results: Strings are not marked as translatable strings.


Expected results: Strings should be marked as translatable strings.


Additional info: Please see attached screen shot.

Comment 5 visawant 2022-05-05 09:26:48 UTC
This issue has been observed in 6.11.0 build as well.

Comment 6 Chris Roberts 2022-05-17 15:27:24 UTC
Hi Team,

I looked into this more and here is what I found:

* Search button has been translated properly: 

See screenshot attached to bz

* On/Off Toggle: 

It looks like Patternfly 3 does not support labels for states: https://github.com/patternfly/patternfly-react/blob/patternfly-3/packages/patternfly-react/src/components/Switch/Switch.js

I do see Pattenfly 4 does, so until this page gets revamped to P4 then the on/off selector will not translate. 

https://www.patternfly.org/2020.04/documentation/react/components/switch

I did try the props but it didn't do anything

* Dropdown:

I did see a few spots missing the translate bits, so will make a pr for that.

Comment 7 Chris Roberts 2022-05-17 15:28:36 UTC
Created attachment 1880536 [details]
search translated correctly.

Comment 9 Silas Pusateri 2022-08-05 20:29:34 UTC
Hi,

I've tested this on 6.12.0 snap 5 with all of the locales listed in the original description (Comment 0)

Results:
The search is translated correctly in all

In the 'Available' dropdown, 'Available' option is translated, however the 'Both' option does not appear to be translated in any of the locales

As @chrobert mentioned above, the ON/OFF selector is not translated until this page is updated to PF4



Questions:
Is the 'Both' option expected to be translated as well? 

Without the ON/OFF selector does this meet the criteria to be verified? If it cannot be translated until the page is updated to use PF4, will there be a separate ticket filed for it?

Comment 10 Chris Roberts 2022-08-18 15:24:49 UTC
Hi Silas,

I have filed this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2119470

For the Both and other component

I think base on that if the other areas are verified, you can say this bug is good to go.

Comment 11 Silas Pusateri 2022-08-26 13:26:46 UTC
Thanks Chris,

Just wanted to make sure it was being tracked somewhere

Marking this Verified with info/steps listed in Comment 9

Comment 16 errata-xmlrpc 2022-11-16 13:32:23 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 (Important: Satellite 6.12 Release), 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-2022:8506

Comment 17 Red Hat Bugzilla 2023-09-18 00:22:28 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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