Bug 1322565

Summary: Satellite 6.2.0 needs branded translations
Product: Red Hat Satellite Reporter: Eric Helms <ehelms>
Component: BrandingAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.7CC: bkearney, erezende, lzap, sshtein
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:40:37 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:

Description Eric Helms 2016-03-30 18:09:40 UTC
Throughout the UI, and CLI, there are appearances of upstream terminology such as Foreman, Katello or Smart Proxy that need to be updated to reflect the Satellite product.

Comment 2 Shimon Shtein 2016-03-30 18:16:51 UTC
Plugins that need to run `rake plugin:gettext['PLUGIN_NAME']` on the upstream version:
hammer_cli
foreman_discovery
foreman_openscap
foreman-tasks
foreman_docker
bastion
hammer_cli_foreman
hammer_cli_katello
hammer-cli-foreman-bootdisk
hammer-cli-foreman-tasks
hammer_cli_foreman_remote_execution
hammer-cli-csv

Comment 3 Shimon Shtein 2016-03-30 19:46:06 UTC
Update to previous comment:
The list got smaller, items that still lack en translation files:

foreman_discovery
foreman_openscap
foreman_docker
bastion
hammer-cli-csv

Comment 4 Lukas Zapletal 2016-06-22 10:56:44 UTC
Avail plugins in SNAP 17:

[root@hp-dl360g7-01 ~]# rpm -qa | grep tfm-rubygem-foreman | sort

tfm-rubygem-foreman_bootdisk-6.1.0.3-1.el7sat.noarch
tfm-rubygem-foreman_discovery-5.0.0.8-1.el7sat.noarch
tfm-rubygem-foreman_docker-2.0.1.10-2.el7sat.noarch
tfm-rubygem-foreman_hooks-0.3.11-1.el7sat.noarch
tfm-rubygem-foreman_openscap-0.5.3.13-2.el7sat.noarch
tfm-rubygem-foreman-redhat_access-1.0.8-1.el7sat.noarch
tfm-rubygem-foreman_remote_execution-0.3.0.10-1.el7sat.noarch
tfm-rubygem-foreman-tasks-0.7.14.6-3.el7sat.noarch
tfm-rubygem-foreman_theme_satellite-0.1.20-1.el7sat.noarch

Plugins with english locale:

[root@hp-dl360g7-01 ~]# for P in $(rpm -qa | grep tfm-rubygem-foreman); do rpm -ql $P | egrep 'locale/en/.*po' | cut -c 46- | sort; done

foreman_discovery-5.0.0.8/locale/en/foreman_discovery.po
foreman_theme_satellite-0.1.20/locale/en/foreman_theme_satellite.po
foreman_remote_execution-0.3.0.10/locale/en/foreman_remote_execution.po
foreman_bootdisk-6.1.0.3/locale/en/foreman_bootdisk.po
foreman-tasks-0.7.14.6/locale/en/foreman_tasks.po

We are missing bunch of them. In case this is not correct, provide verification steps.

[root@hp-dl360g7-01 ~]# rpm -q satellite
satellite-6.2.0-17.0.el7sat.noarch

Comment 7 Shimon Shtein 2016-06-22 12:54:18 UTC
Since the bug was open, I have changed the way theme brands its text - now the branding is done seamless as part of string translation request (the "_" method).

Do we still have upstream branded text in Satellite?

P.S. It affects the API also, so most of the CLI should be branded too. I do have an upstream version of this functionality as a gem, that we can use in hammer to brand strings that are specific to hammer and its plugins.

Comment 8 Lukas Zapletal 2016-06-25 08:17:29 UTC
I haven't tested any screen, I just don't see english localizations for all the plugins Shimon mentioned. Please doublecheck that, if that's expected then we can move on to VERIFIED.

Comment 10 Bryan Kearney 2016-07-27 11:40:37 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, 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/RHBA-2016:1501