Bug 1389224

Summary: List of languages in dropdown on login page are cryptic on CloudForms Service UI
Product: Red Hat CloudForms Management Engine Reporter: lkerner
Component: UI - ServiceAssignee: Josh Langholtz <jlanghol>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: high    
Version: 5.7.0CC: ckacergu, cpelland, dajohnso, dclarizi, jhardy, obarenbo, sshveta
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: i18n:ssui
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1393515 (view as bug list) Environment:
Last Closed: 2017-06-12 17:05:09 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:
Bug Depends On:    
Bug Blocks: 1393515    
Attachments:
Description Flags
screenshot of langugages drop down in service UI none

Description lkerner 2016-10-27 08:36:36 UTC
Created attachment 1214521 [details]
screenshot of langugages drop down in service UI

Description of problem:
On the service UI login page, the list of languages in the drop down are cryptic. For example, "es", "fr", "ja", etc. While most people can tell that "fr" probably means french, it would be much better to just say french vs "fr" and make people guess the meaning.

Version-Release number of selected component (if applicable):
Version 5.7.0.7-beta1.20161025153249_9376fbd 

How reproducible:
Always

Steps to Reproduce:
1. Log in to the CloudForms service UI
2. Open the languages drop down to view the list of languages to choose from.
3.

Actual results:
The languages in the drop down on the service UI login page says "es", "fr" , "ja", "ru", etc.

Expected results:
The languages in the drop down on the service UI login page should say "French", "Japanese", etc vs "fr" , "ja",etc. This will cause less confusion for our customers.

Additional info:

Comment 2 Dave Johnson 2016-10-27 21:43:17 UTC
Shveta, can you confirm these work correctly in 5.7 please.  I believe we did that for 5.6.2 a liitle while back, I assume it was the same "cryptic" labels (but it did work).

Comment 5 CFME Bot 2016-11-02 19:44:09 UTC
New commit detected on ManageIQ/manageiq-ui-service/master:
https://github.com/ManageIQ/manageiq-ui-self_service/commit/b8f7c229d8c8a0c755ad454863e18d668c5c6427

commit b8f7c229d8c8a0c755ad454863e18d668c5c6427
Author:     Josh Langholtz <jjlangholtz>
AuthorDate: Wed Nov 2 10:22:22 2016 -0400
Commit:     Josh Langholtz <jjlangholtz>
CommitDate: Wed Nov 2 10:22:22 2016 -0400

    Pull and compile most recent translations
    
    The language selection for the login page and the user settings
    'Switch Language' dropdown were listing language options using the
    cryptic language codes instead of human friendly locale names.
    
    This change pulls down the latest translations from Zanata and
    recompiles the json translation files along with
    `available_languages.json` which is used to populate the language
    switching choices.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1389224

 client/gettext/json/available_languages.json       |    2 +-
 client/gettext/json/de-DE/manageiq-ui-service.json |    2 +-
 client/gettext/json/es/manageiq-ui-service.json    |    2 +-
 client/gettext/json/fr/manageiq-ui-service.json    |    2 +-
 client/gettext/json/ja/manageiq-ui-service.json    |    2 +-
 client/gettext/json/ru/manageiq-ui-service.json    |    2 +-
 client/gettext/json/sk/manageiq-ui-service.json    |    2 +-
 client/gettext/json/tr/manageiq-ui-service.json    |    2 +-
 client/gettext/json/zh-CN/manageiq-ui-service.json |    2 +-
 .../json/zh-Hans-CN/manageiq-ui-service.json       |    2 +-
 client/gettext/po/de-DE/manageiq-ui-service.po     | 1210 +++++++++++++++---
 client/gettext/po/es/manageiq-ui-service.po        | 1222 +++++++++++++++---
 client/gettext/po/fr/manageiq-ui-service.po        | 1220 +++++++++++++++---
 client/gettext/po/ja/manageiq-ui-service.po        | 1241 ++++++++++++++++---
 client/gettext/po/ru/manageiq-ui-service.po        | 1290 ++++++++++++++++----
 client/gettext/po/sk/manageiq-ui-service.po        | 1212 +++++++++++++++---
 client/gettext/po/tr/manageiq-ui-service.po        | 1103 +++++++++++++----
 client/gettext/po/zh-CN/manageiq-ui-service.po     | 1208 +++++++++++++++---
 .../gettext/po/zh-Hans-CN/manageiq-ui-service.po   | 1208 +++++++++++++++---
 19 files changed, 9211 insertions(+), 1723 deletions(-)

Comment 7 Shveta 2017-03-13 04:43:34 UTC
Fixed in 5.8.0.4.20170307183144_745a3d9