Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 894288 - RHEVM GUI: Failure to language selection in specific case
RHEVM GUI: Failure to language selection in specific case
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal (Show other bugs)
3.1.0
x86_64 Linux
unspecified Severity medium
: ---
: 3.2.0
Assigned To: Alexander Wels
Jiri Belka
ux
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-11 05:29 EST by Hirofumi Kojima
Modified: 2015-09-22 09 EDT (History)
8 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-10 17:42:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 11047 None None None Never
Red Hat Product Errata RHSA-2013:0888 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-10 20:55:41 EDT

  None (edit)
Description Hirofumi Kojima 2013-01-11 05:29:40 EST
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 10:47:10 EST
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 18:07:26 EST
> 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-11 19:44:43 EST
(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 08:57:35 EST
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 06:27:26 EDT
OK, sf13, FF10.x from japanese gnome env.
Comment 16 errata-xmlrpc 2013-06-10 17:42:35 EDT
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.