Bug 1337591

Summary: [ja_JP] Translations are either misplaced or missing on Settings->Configuration->Settings
Product: Red Hat CloudForms Management Engine Reporter: Krishna Babu K <kkrothap>
Component: UI - OPSAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Krishna Babu K <kkrothap>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: asasaki, cpelland, dajohnso, hkataria, jhardy, mpovolny, myamamot, obarenbo, simaishi, xhuang
Target Milestone: GAKeywords: TestOnly, Translation
Target Release: 5.8.0   
Hardware: All   
OS: Linux   
Whiteboard: i18n
Fixed In Version: 5.8.0.11 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1349059 1391746 (view as bug list) Environment:
Last Closed: 2017-06-12 17:22:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1349059, 1391746    
Attachments:
Description Flags
Screen shot references for the reported issue.
none
'Analysis-profiles' pagination entries not localized none

Description Krishna Babu K 2016-05-19 14:37:37 UTC
Created attachment 1159518 [details]
Screen shot references for the reported issue.

Description of problem:
  Translations are either misplaced or missing on Settings->Configuration->Settings->CFME Region: Region tabs and corresponding menu items.

Version-Release number of selected component (if applicable):
   5.6.0.7-beta2.6

How reproducible:
  Always

Steps to Reproduce:
   Login to cfme with ja_JP locale.
   Navigate to Settings->Configuration->Settings->CFME Region: Region
1. The string "すべてのデータストアの収集" for "Collect for All Datastores" on 
   'C & U Collection' tab has to be placed in one line. 'Note:' remains in 
   english on 'C & U Collection' tab.

2. "Showing 1-3 of 3 items" remains in English on 'Settings analysis profiles' 
   pane bottom right corner.

3. "No replication role has been set" remains in English on 'Replication' tab.

4. All strings under "SmartProxy Affinity" tab at 'Zones'->'Default zone' are 
   in English.

5. Under the 'Zones'->'Default Zone'->'Server: EVM' Server tab, 
   "Client Browser Setting" is found in English next to "Default Locale". 

6. Under the 'Zones'->'Default Zone'->'Server: EVM' Server tab, 
   drop down menu items are mostly in English.

7. Under the 'Zones'->'Default Zone'->'Server: EVM' Worker tab, 
   some Japanese strings such as "ユーザー名" for user name and 
   "パスワード" for password need to be placed in one line. 

Actual results:
  Translations are missing.  

Expected results:
  Translations should present.

Additional info:
  Screen shots attached.

Comment 3 Milan Zázrivec 2016-05-20 10:57:54 UTC
(In reply to Krishna Babu K from comment #0)
> Created attachment 1159518 [details]
> Screen shot references for the reported issue.
> 
> Description of problem:
>   Translations are either misplaced or missing on
> Settings->Configuration->Settings->CFME Region: Region tabs and
> corresponding menu items.
> 
> Version-Release number of selected component (if applicable):
>    5.6.0.7-beta2.6
> 
> How reproducible:
>   Always
> 
> Steps to Reproduce:
>    Login to cfme with ja_JP locale.
>    Navigate to Settings->Configuration->Settings->CFME Region: Region
> 1. The string "すべてのデータストアの収集" for "Collect for All Datastores" on 
>    'C & U Collection' tab has to be placed in one line. 'Note:' remains in 
>    english on 'C & U Collection' tab.

This is standard patternfly styling. The string won't fit in one line, so it's
rendered into multiple lines. Not much we can do here.

The part about "Note: " not being translated, I'm addressing this in
https://github.com/ManageIQ/manageiq/pull/8844 and to actually show
the string translated, I'd have to update the catalog and have the translators
translate it.

> 2. "Showing 1-3 of 3 items" remains in English on 'Settings analysis
> profiles' 
>    pane bottom right corner.

This is b/c some strings did not make it into the manageiq.pot catalog
for the translation. Again, I'd have to update the catalog and have
the translators translate it for the release.

> 3. "No replication role has been set" remains in English on 'Replication'
> tab.

Untranslated string (cannot be the judge why).

> 4. All strings under "SmartProxy Affinity" tab at 'Zones'->'Default zone'
> are 
>    in English.

Same as above -- catalog update & additional translation work.

> 5. Under the 'Zones'->'Default Zone'->'Server: EVM' Server tab, 
>    "Client Browser Setting" is found in English next to "Default Locale". 

This is intentional.

> 6. Under the 'Zones'->'Default Zone'->'Server: EVM' Server tab, 
>    drop down menu items are mostly in English.

This is intentional. Some of the data come from sources, which are
not translatable at the moment.

> 7. Under the 'Zones'->'Default Zone'->'Server: EVM' Worker tab, 
>    some Japanese strings such as "ユーザー名" for user name and 
>    "パスワード" for password need to be placed in one line. 

This is Patternfly styling. Not much we can do here.

Mie, could you please chime in on some of the points from above?
Especially the part about missing japanese translations and whether
or not it would be OK at this point to update the catalog in Zanata
and do additional translation work?

Thanks.

Comment 4 CFME Bot 2016-05-20 14:40:59 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/a593ee227c8702f194a601e75ecc167e992a366c

commit a593ee227c8702f194a601e75ecc167e992a366c
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Fri May 20 11:27:26 2016 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Fri May 20 12:36:42 2016 +0200

    "Note:" string was not included into translation
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1337591

 app/views/ops/_settings_cu_collection_tab.html.haml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comment 13 Krishna Babu K 2016-06-22 10:12:23 UTC
Hi Milan, Mie,
Verified on 5.6.0.10-rc2.1. Translations are still not available, the reason might be translations are yet to complete by translators. Please update the status here as soon as the translations are available for the reported issues so that those will be pulled into latest build to verify the bug.
As of now moving the bug to Assigned.

Comment 16 Milan Zázrivec 2016-06-29 10:59:06 UTC
(In reply to Krishna Babu K from comment #13)
> Hi Milan, Mie,
> Verified on 5.6.0.10-rc2.1. Translations are still not available, the reason
> might be translations are yet to complete by translators. Please update the
> status here as soon as the translations are available for the reported
> issues so that those will be pulled into latest build to verify the bug.
> As of now moving the bug to Assigned.

Additional translations for CFME-5.6 will be done after the 5.6 general
availability and will be included in some of the 5.6 updates.

Comment 17 Milan Zázrivec 2016-10-25 13:25:33 UTC
Moving to POST, since latest translations have been merged.

Comment 18 Krishna Babu K 2016-10-26 11:47:49 UTC
Tested on Version 5.7.0.7-beta1.20161025153249_9376fbd
As per Comment 3 all translations are available for reported issues 1,2,3,4.

Comment 20 Krishna Babu K 2017-02-07 17:56:58 UTC
Created attachment 1248487 [details]
'Analysis-profiles' pagination entries not localized

Showing 1-3 of 3 items" remains in English on 'Settings analysis profiles' pane bottom right corner.

Comment 21 Krishna Babu K 2017-02-07 17:58:08 UTC
(In reply to Krishna Babu K from comment #20)
> Created attachment 1248487 [details]
> 'Analysis-profiles' pagination entries not localized
> 
> Showing 1-3 of 3 items" remains in English on 'Settings analysis profiles'
> pane bottom right corner.

Verified on 5.8.0.0.20170201144150_848e68b

Comment 23 Krishna Babu K 2017-05-19 15:28:53 UTC
Verified on 5.8.0.15.20170517161141_119e6fd
Translations available now.