Bug 1225377

Summary: [ja_JP] Unexpected and unlocalized string "translation missing: ja.product.name: xx" in the browser window & tab's name and tooltips.
Product: Red Hat CloudForms Management Engine Reporter: Lijun Li <lijli>
Component: InternationalizationAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Aziza Karol <akarol>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: akarol, cpelland, jhardy, jprause, mfeifer, obarenbo, qe-i18n-bugs
Target Milestone: GAKeywords: i18n
Target Release: 5.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1227069 (view as bug list) Environment:
Last Closed: 2015-06-16 13:02:57 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:
Bug Depends On:    
Bug Blocks: 1227069    
Attachments:
Description Flags
Unexpected and unlocalized string "translation missing: ja.product.name: xx" in the browser window & tab's name and tooltips none

Description Lijun Li 2015-05-27 09:01:17 UTC
Description of problem:
[ja_JP] Unexpected and unlocalized string "translation missing: ja.product.name: xx" in the browser window & tab's name and tooltips.

Version-Release number of selected component (if applicable):
5.4.0.2.20150519003830_673f996 

How reproducible:
100%

Steps to Reproduce:
1. Access CFME login page with Japanese locale.


Actual results:
[ja_JP] Unexpected and unlocalized string "translation missing: ja.product.name: xx" in the browser window & tab's name and tooltips.

Expected results:
String "translation missing: ja.product.name:" should not be displayed and the "xx" tab name should be localized.

Additional info:
Please see the attached screen-shot.

Comment 2 Lijun Li 2015-05-27 09:07:18 UTC
Created attachment 1030429 [details]
Unexpected and unlocalized string "translation missing: ja.product.name: xx" in the browser window & tab's name and tooltips

Comment 3 Lijun Li 2015-05-27 09:08:41 UTC
BTW, the same issue produced on every navigation bar.

Comment 5 CFME Bot 2015-06-01 21:15:59 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/067bb7a2ac5770fd30c013bb20d2aea8b9fc4e8e

commit 067bb7a2ac5770fd30c013bb20d2aea8b9fc4e8e
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Jun 1 13:56:00 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Jun 1 14:43:42 2015 -0400

    Fixed translation missing errors on I18N calls.
    
    Added ja & nl translation files to fix translation missing message on I18N.t calls. Converted calls that should have been gettext calls instead of I18N calls.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1225377

 vmdb/app/controllers/ems_common.rb                        |  4 ++--
 vmdb/app/controllers/miq_policy_controller.rb             | 12 ++++++------
 vmdb/app/controllers/ops_controller/settings/schedules.rb |  3 ++-
 vmdb/config/locales/ja.yml                                |  7 +++++++
 vmdb/config/locales/nl.yml                                |  6 ++++++
 5 files changed, 23 insertions(+), 9 deletions(-)
 create mode 100644 vmdb/config/locales/ja.yml
 create mode 100644 vmdb/config/locales/nl.yml

Comment 7 CFME Bot 2015-06-04 18:16:19 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=3ec8f27c0c2580b7f4300b0e6dfbdcbc2660b181

commit 3ec8f27c0c2580b7f4300b0e6dfbdcbc2660b181
Merge: 895d69a c0aa447
Author:     Oleg Barenboim <obarenbo>
AuthorDate: Thu Jun 4 14:13:55 2015 -0400
Commit:     Oleg Barenboim <obarenbo>
CommitDate: Thu Jun 4 14:13:55 2015 -0400

    Merge branch '54z_ja_jp_fix' into '5.4.z'
    
    Fixed translation missing errors on I18N calls.
    
    Added ja & nl translation files to fix translation missing message on I18N.t calls. Converted calls that should have been gettext calls instead of I18N calls.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1225377
    (cherry picked from commit 067bb7a)
    https://bugzilla.redhat.com/show_bug.cgi?id=1227069
    
    @dclarizio please review, this is aclean cherry-pick
    https://github.com/ManageIQ/manageiq/pull/3027
    
    See merge request !94

 vmdb/app/controllers/ems_common.rb                        |  4 ++--
 vmdb/app/controllers/miq_policy_controller.rb             | 12 ++++++------
 vmdb/app/controllers/ops_controller/settings/schedules.rb |  3 ++-
 vmdb/config/locales/ja.yml                                |  7 +++++++
 vmdb/config/locales/nl.yml                                |  6 ++++++
 5 files changed, 23 insertions(+), 9 deletions(-)

Comment 8 CFME Bot 2015-06-04 18:16:26 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=c0aa447edf835ae3f8976a0c974b7d564aa24da9

commit c0aa447edf835ae3f8976a0c974b7d564aa24da9
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Jun 1 13:56:00 2015 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon Jun 1 17:39:28 2015 -0400

    Fixed translation missing errors on I18N calls.
    
    Added ja & nl translation files to fix translation missing message on I18N.t calls. Converted calls that should have been gettext calls instead of I18N calls.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1225377
    (cherry picked from commit 067bb7a)
    https://bugzilla.redhat.com/show_bug.cgi?id=1227069

 vmdb/app/controllers/ems_common.rb                        |  4 ++--
 vmdb/app/controllers/miq_policy_controller.rb             | 12 ++++++------
 vmdb/app/controllers/ops_controller/settings/schedules.rb |  3 ++-
 vmdb/config/locales/ja.yml                                |  7 +++++++
 vmdb/config/locales/nl.yml                                |  6 ++++++
 5 files changed, 23 insertions(+), 9 deletions(-)
 create mode 100644 vmdb/config/locales/ja.yml
 create mode 100644 vmdb/config/locales/nl.yml

Comment 10 Aziza Karol 2015-06-08 06:19:46 UTC
The above error is not observed now.

Verified:
5.4.0.5.20150605150206_7daa1a8

Comment 12 errata-xmlrpc 2015-06-16 13:02:57 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.

https://rhn.redhat.com/errata/RHBA-2015-1100.html