Bug 947176

Summary: WebAdmin do not change language to english
Product: [Retired] oVirt Reporter: Paulo Henrique Alves <alvesph.redhat>
Component: ovirt-engine-webadminAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1 GACC: acathrow, ecohen, eedri, iheim, mgoldboi
Target Milestone: ---   
Target Release: 3.3   
Hardware: x86_64   
OS: Linux   
Whiteboard: ux
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-23 07:35:29 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:
Embargoed:

Description Paulo Henrique Alves 2013-04-01 19:06:43 UTC
Description of problem:
WebAdmin do not change language to english when my default browser locale is not equals "en".

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

How reproducible:
Use a Browser with default locale pt_br

Steps to Reproduce:
1. Access portal, the default language selected is "Português do Brasil"
2. Change language to "English"
  
Actual results:
1. Access portal, the default language selected is "Português do Brasil"
2. Change language to "English"
3. The page reload and return with selected "Portueguês do Brasil"

Expected results:
1. Access portal, the default language selected is "Português do Brasil"
2. Change language to "English"
3. The page reload and return with selected "English"

Additional info:
I checked in select tag that in option language "English" is locale=default and "Português do Brasil" is locale=pt_br.

To correct this bug I change line in file /usr/share/ovirt-engine/engine.ear/root.war/index.html

From
<a href="webadmin">Web Admin Portal</a>
To
<a href="webadmin/webadmin/WebAdmin.html?locale=en">Web Admin Portal</a>

Comment 1 Itamar Heim 2013-08-21 16:42:34 UTC
as RC is built, moving to ON_QA (hopefully did not catch incorrect bugs when doing this)

Comment 2 Itamar Heim 2013-09-23 07:35:29 UTC
closing as this should be in 3.3 (doing so in bulk, so may be incorrect)