Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1090229

Summary: RFE: Display language name according to the language chooser, not the zanata system server locale
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: Component-UIAssignee: Michelle Kim <mkim>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3CC: damason, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-31 01:20:48 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:
Attachments:
Description Flags
Screenshot: languages in Name column are NOT shown in language in language chooser none

Description Ding-Yi Chen 2014-04-23 01:51:43 UTC
Description of problem:
The translation of language names should be displayed in the language specified in language chooser, not the system locale of zanata server.

The attachment shows the manage language view that should be shown in English as Language chooser is shown as "English", but in fact is shown in Traditional Chinese because anata server system locale is zh_TW.UTF-8.

Version-Release number of selected component (if applicable):
Zanata 3.4.0-SNAPSHOT

How reproducible:
Easy always

Steps to Reproduce:
0. Assume your system locale is English.
1. Click language tab
   Language list should be display
2. Select different language from language chooser (at bottom right of the page)

Actual results:
The language names in "Name" column was not changed.

Expected results:
The language names in "Name" column should be localized according to language chooser.


Additional info:

Comment 1 Ding-Yi Chen 2014-04-23 01:59:37 UTC
Created attachment 888703 [details]
Screenshot: languages in Name column are NOT shown in language in language chooser

Comment 2 David Mason 2014-04-23 02:44:51 UTC
Technical note: this is caused by using ULocale.getDisplayName() in HLocale.retrieveDisplayName(), which is using the default language for the server. If we supply the user-selected display locale as an argument to getDisplayName() it will display correctly for the user regardless of server locale setting.

Comment 3 Ding-Yi Chen 2015-03-02 01:32:31 UTC
Still reproducable in Zanata 3.6.0 (git-server-3.6.0)

Comment 4 Zanata Migrator 2015-07-31 01:20:48 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-444