Bug 1347312 - SSUI - i18n not working on appliance
Summary: SSUI - i18n not working on appliance
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: GA
: 5.6.0
Assignee: Martin Hradil
QA Contact: Jan Krocil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-16 13:47 UTC by Martin Hradil
Modified: 2019-08-06 20:06 UTC (History)
8 users (show)

Fixed In Version: 5.6.0.13
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 16:07:40 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Martin Hradil 2016-06-16 13:47:51 UTC
Description of problem:


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

How reproducible:
always

Steps to Reproduce:
1. Set a language that is not English in the ops UI for some user
2. Go to the Self-Service UI and log in
3. Look at the text

Actual results:
Text is in English.

Expected results:
Text should not be English.


Additional info:
The problem is that the translation catalogs are not copied over to the appliance. Also, and accessing the url (/self_service/gettext/json/*/manageiq-ui-self_service.json) does not return 404, but returns 200 with the content of index.html instead because of a redirection (that's not part of this bug).

Comment 4 CFME Bot 2016-06-24 14:31:33 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/16771e0f0b845b077a76c068d0a1c2841121ac46

commit 16771e0f0b845b077a76c068d0a1c2841121ac46
Author:     Martin Hradil <mhradil>
AuthorDate: Fri Jun 24 09:12:53 2016 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Fri Jun 24 09:12:53 2016 +0000

    MiqApache::Conf - update SSUI redirects to allow bower_components/ and gettext/
    
    SSUI needs html files under bower_components for the consoles to work, and json translations under gettext/ for translations to work.
    
    These files are there since https://github.com/ManageIQ/manageiq-ui-self_service/pull/65 , but the RewriteRule in /etc/httpd/conf.d/manageiq-redirects-ui always rewrites those URLs to /self_service/index.html => this PR makes bower_components/ and gettext/ to *not* get redirected to index.html
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1347319
    https://bugzilla.redhat.com/show_bug.cgi?id=1347312

 gems/pending/spec/util/miq_apache/conf_spec.rb | 2 +-
 gems/pending/util/miq_apache/miq_apache.rb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 11 errata-xmlrpc 2016-06-29 16:07:40 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:1348


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