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

Bug 1356949

Summary: [ALL_LANG] Some gluster related events are not translated properly
Product: [oVirt] ovirt-engine Reporter: Bhushan Barve <bbarve>
Component: Frontend.WebAdminAssignee: Yuko Katabami <ykatabam>
Status: CLOSED CURRENTRELEASE QA Contact: Bhushan Barve <bbarve>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0.3CC: bbarve, bugs, kkrothap, lleistne, mperina, sabose, ykatabam
Target Milestone: ovirt-4.2.2Keywords: CodeChange, Translation
Target Release: ---Flags: rule-engine: ovirt-4.2+
rule-engine: planning_ack+
mperina: devel_ack+
bbarve: testing_ack+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
: 1422504 (view as bug list) Environment:
Last Closed: 2018-03-29 10:53:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1422504    
Attachments:
Description Flags
ja_JP_events none

Description Bhushan Barve 2016-07-15 10:55:37 UTC
Created attachment 1180101 [details]
ja_JP_events

Description of problem: As per the translator's comment in tcms, following are listed as event names instead of messages in "Add Event Notification" dialog:

GLUSTER_VOLUME_REBALANCE_START_DETECTED_FROM_CLI
START_REMOVING_GLUSTER_VOLUME_BRICKS_DETECTED_FROM_CLI

Please refer attached screenshot.


Version-Release number of selected component (if applicable):
 Red Hat Enterprise Virtualization Manager バージョン: 4.0.2-0.2.rc1.el7ev

How reproducible:
always

Steps to Reproduce:
1. login with ja_JP locale
2. go to users->event notifier->manage events screen
3. observe events under gluster volume events.

Actual results:
above mentioned events/messages are not localized.

Expected results:
all the events should be localized.

Additional info:

Comment 1 Krishna Babu K 2016-08-05 09:55:22 UTC
Issue present with RHEVM 4.0.2.4-0.1

Comment 2 Lucie Leistnerova 2016-12-01 15:46:22 UTC
with locale=en_US in engine 4.1 found these not proper localized events

General Host Events:
HOST_UPDATES_ARE_AVAILABLE_WITH_PACKAGES

Gluster Volume Events:
GLUSTER_VOLUME_REBALANCE_START_DETECTED_FROM_CLI
START_REMOVING_GLUSTER_VOLUME_BRICKS_DETECTED_FROM_CLI

in ovirt-engine-4.1.0-0.0.master.20161201071307.gita5ff876.el7.centos.noarch

Comment 5 Martin Perina 2017-02-20 10:16:30 UTC
Moving back to MODIFIED as it missed 4.1.1.2 build

Comment 6 Bhushan Barve 2017-04-04 08:46:16 UTC
Checked with 4.1.1.4-0.1.el7
The string is still in English only.
Moving it back to assigned.

Comment 7 Red Hat Bugzilla Rules Engine 2017-04-04 08:46:23 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 8 Martin Perina 2017-04-04 12:54:59 UTC
(In reply to Bhushan Barve from comment #6)
> Checked with 4.1.1.4-0.1.el7
> The string is still in English only.
> Moving it back to assigned.

We don't have any influence when a real translation is pushed, we just performed the code changes to allow translation.

Comment 9 Bhushan Barve 2017-05-17 10:47:55 UTC
Checked with 4.1.2.2-0.1.el7

The tool-tips are no localized. Strings not found in Zanata.
May be we need to wait till 4.2 for the translation cycle.

Changing it to assigned atm.

Comment 10 Red Hat Bugzilla Rules Engine 2017-05-17 10:48:04 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 11 Martin Perina 2017-05-17 12:23:28 UTC
(In reply to Bhushan Barve from comment #9)
> Checked with 4.1.2.2-0.1.el7
> 
> The tool-tips are no localized. Strings not found in Zanata.
> May be we need to wait till 4.2 for the translation cycle.
> 
> Changing it to assigned atm.

What tool-tips? We have added the translation string for HOST_UPDATES_ARE_AVAILABLE_WITH_PACKAGES event as stated in Comment2

Comment 12 Bhushan Barve 2017-05-18 11:20:26 UTC
(In reply to Martin Perina from comment #11)
> (In reply to Bhushan Barve from comment #9)
> > Checked with 4.1.2.2-0.1.el7
> > 
> > The tool-tips are no localized. Strings not found in Zanata.
> > May be we need to wait till 4.2 for the translation cycle.
> > 
> > Changing it to assigned atm.
> 
> What tool-tips? We have added the translation string for
> HOST_UPDATES_ARE_AVAILABLE_WITH_PACKAGES event as stated in Comment2


My mistake, not the tool-tips but the strings mentioned in the description.

Comment 13 Martin Perina 2017-05-22 12:37:21 UTC
Targeting to 4.2, as we don't have translation cycles for z-streams

Comment 14 Bhushan Barve 2018-01-03 13:16:39 UTC
Checked with Version:4.2.0.2-0.1.el7

Following translations are not available in Zanata for ja, zh_CN and de. Available for rest of the locales. None available in the UI.


Detected start of rebalance on gluster volume from CLI
Detected start of brick removal for bricks on volume from CLI

https://translate.zanata.org/webtrans/translate?project=ovirt&iteration=ovirt-4.2&localeId=ja&locale=en-US&dswid=-4189#view:doc;doc:frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums;search:Detected%20start%20of%20rebalance%20on%20gluster%20volume%20from%20CLI

Assigning to Yuko. 
@Yuko, can you please confirm?

Comment 15 Red Hat Bugzilla Rules Engine 2018-01-03 13:16:45 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 16 Yuko Katabami 2018-01-03 14:19:03 UTC
Hi Bhushan,

As you can see from our JIRA you have been a watcher, we are in the translation cycle #2, which is due to be completed by 17 Jan.

Translations for some languages are completed but others are not, including Japanese.

You can test it again after we completed the translations in all langs, the translations are pulled into the code repo and included in a build.

Comment 17 Bhushan Barve 2018-01-04 09:05:22 UTC
Sure Yuko, thanks for the confirmation. So I'll assign it to you at the moment for translation completeness. Once translation cycle is completed, you can assign it to the relevant person from RHV team for further tasks.

Comment 18 Yuko Katabami 2018-01-14 03:55:39 UTC
Hi Bhushan,

Translation cycle #2 has been completed and I requested Scott Dickerson to pull it from Zanata.

I don't think this bug needs to be assigned to the engineering team.
This can be verified on the build we will be using for I18n/L10n QA event.

Comment 19 Sahina Bose 2018-03-12 07:16:44 UTC
Moving to ON_QA based on comment 18

Comment 20 Bhushan Barve 2018-03-15 12:17:57 UTC
Checked with 4.2.2.1-0.1.el7.
Looks fine now for ja, de and zh_CN.

Comment 21 Sandro Bonazzola 2018-03-29 10:53:22 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.