Bug 894288 - RHEVM GUI: Failure to language selection in specific case
Summary: RHEVM GUI: Failure to language selection in specific case
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: 3.2.0
Assignee: Alexander Wels
QA Contact: Jiri Belka
URL:
Whiteboard: ux
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-11 10:29 UTC by Hirofumi Kojima
Modified: 2022-07-09 06:14 UTC (History)
8 users (show)

Fixed In Version: sf13
Doc Type: Bug Fix
Doc Text:
English was defined as the default locale, which worked if the browser's locale was English, but users with a browser locale other than English were unable to select the English locale. Now, English is defined as a fallback, so users in all locales can select English regardless of their default locale.
Clone Of:
Environment:
Last Closed: 2013-06-10 21:42:35 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47234 0 None None None 2022-07-09 06:14:11 UTC
Red Hat Product Errata RHSA-2013:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-11 00:55:41 UTC
oVirt gerrit 11047 0 None None None Never

Description Hirofumi Kojima 2013-01-11 10:29:40 UTC
Description of problem:


Version-Release number of selected component (if applicable):
rhevm-webadmin-portal-3.1.0-32.el6ev

How reproducible:
Always

Steps to Reproduce:
1. The locale setting of Firefox(RHEL6.3) is Japanese.
2. Reload Firefox.
3. Select language from the list on RHEV-M login screen. 
  
Actual results:
I cannnot change language.(Remain in Japanese)

Expected results:
I can change selected language from japanese.

Comment 1 Einav Cohen 2013-01-11 15:47:10 UTC
when attempting to reproduce it, I managed to replace the language successfully for all languages other than English.

When trying to change the language to English (which is the application's default language), the application is being loaded in the language of the browser's default locale (Japanese in your case).

Can you please confirm that?

Comment 2 Hirofumi Kojima 2013-01-11 23:07:26 UTC
> When trying to change the language to English (which is the application's
> default language), the application is being loaded in the language of the
> browser's default locale (Japanese in your case).
Sure. 
Language on RHEV Admin Portal seems to depend on the browser's default locale. 

And so, if there is difference between "browser's default locale" and "language selection on RHEV-M login screen", then there is a case that language selection does not work well.

For Example,...
Case 1: Default locale of Firefox is Engilish.
I can use Japanese on RHEV-M Admin Portal. 
Case 2: Default locale of Firefox is Japanese.
I cannot use English on RHEV-M Admin Portal.
But in this case 2, I can use other language (Japanese, French, German, Spanish or Simplified Chinese), but I cannot use English.

Is this a Bug or Specification ?

Comment 3 Einav Cohen 2013-01-12 00:44:43 UTC
(In reply to comment #2)
> > When trying to change the language to English (which is the application's
> > default language), the application is being loaded in the language of the
> > browser's default locale (Japanese in your case).
> Sure. 
> Language on RHEV Admin Portal seems to depend on the browser's default
> locale. 
> 
> And so, if there is difference between "browser's default locale" and
> "language selection on RHEV-M login screen", then there is a case that
> language selection does not work well.
> 
> For Example,...
> Case 1: Default locale of Firefox is Engilish.
> I can use Japanese on RHEV-M Admin Portal. 
> Case 2: Default locale of Firefox is Japanese.
> I cannot use English on RHEV-M Admin Portal.
> But in this case 2, I can use other language (Japanese, French, German,
> Spanish or Simplified Chinese), but I cannot use English.
> 
> Is this a Bug or Specification ?

It seems that everything is working fine if the browser's default locale is English (Case 1).

However, case 2 is defintiely a bug: 

regardless of your browser's default locale:

- all RHEV-M's supported languages (including English) should be available to you for display. 

- when you choose "English" in the locale drop-down, the application should be displayed in English, not in any other locale.

Comment 4 Alexander Wels 2013-01-15 13:57:35 UTC
The problem was that 'English' was defined as the 'default' locale which is not the case if the default browser locale is another locale like Japanese. I added a specific English locale to the compile step (increasing the permutation by 6!). The patch is available here:
http://gerrit.ovirt.org/11047

Comment 13 Jiri Belka 2013-04-05 10:27:26 UTC
OK, sf13, FF10.x from japanese gnome env.

Comment 16 errata-xmlrpc 2013-06-10 21:42:35 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.

http://rhn.redhat.com/errata/RHSA-2013-0888.html


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