Project

General

Profile

Actions

Bug #34933

closed

Web elements are not localized Available Button

Added by Chris Roberts over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Fixed in Releases:
Found in Releases:

Description

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.

Actions #1

Updated by Chris Roberts over 2 years ago

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.

Actions #2

Updated by The Foreman Bot over 2 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10118 added
Actions #3

Updated by Chris Roberts over 2 years ago

  • Subject changed from Web elements are not localized (Available Button to Web elements are not localized Available Button
Actions #4

Updated by The Foreman Bot over 2 years ago

  • Fixed in Releases Katello 4.5.0 added
Actions #5

Updated by Chris Roberts over 2 years ago

  • Status changed from Ready For Testing to Closed
  • Difficulty set to easy
Actions #6

Updated by Lucy Fu over 2 years ago

  • Target version changed from Katello 4.6.0 to Katello 4.5.0
  • Triaged changed from No to Yes
Actions #7

Updated by The Foreman Bot over 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10152 added
Actions

Also available in: Atom PDF