Bug 790579

Summary: Missing translations in install-num-migrate-to-rhsm
Product: Red Hat Enterprise Linux 5 Reporter: Alex Wood <awood>
Component: subscription-managerAssignee: Alex Wood <awood>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.9CC: bkearney, fsharath, jsefler
Target Milestone: rcKeywords: i18n, Translation
Target Release: 5.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-08 03:49:03 UTC Type: ---
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: 771748, 807971    
Attachments:
Description Flags
A patch to fix this bug. none

Description Alex Wood 2012-02-14 21:09:53 UTC
Description of problem:
Translation is not occurring for some error messages outputted by install-num-migrate-to-rhsm.

Version-Release number of selected component (if applicable): subscription-manager-0.99.6

How reproducible: Always.

Steps to Reproduce:
1. # LANG=ru_RU.UTF8 ./install-num-migrate-to-rhsm -d -i 123
  
Actual results: The error message is displayed in English.

Expected results: The error message should be displayed in Russian.

Comment 2 Bryan Kearney 2012-02-15 02:29:37 UTC
Is this a unique code base which needs a unique zanata project?

Comment 3 Alex Wood 2012-02-15 14:26:15 UTC
No, we can use the Zanata project for subscription-manager since the installation number migration script is included in that project.

And in fact, most of the script's output is already translated.  It's just this specific case that's failing.

Comment 5 Alex Wood 2012-03-30 19:08:41 UTC
Created attachment 574076 [details]
A patch to fix this bug.

Comment 6 RHEL Program Management 2012-04-02 10:50:19 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 7 Alex Wood 2012-04-11 18:41:32 UTC
commit 393b66a6595a4698727f1792f350fda477c7b9d1
Author: Alex Wood <awood>
Date:   Wed Apr 11 14:35:06 2012 -0400

    790579: Show translations for errors thrown by installation number parsing.

Available in subscription-manager-1.0.1+

Comment 10 Sharath Dwaral 2012-06-20 17:23:41 UTC
Version

RHEL 5.9
# rpm -qa | grep subscription-manager
subscription-manager-migration-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-migration-data-1.11.1.1-1.git.2.c7fbafe.el5
subscription-manager-gui-1.0.4-1.git.0.0fe81f8.el5
subscription-manager-firstboot-1.0.4-1.git.0.0fe81f8.el5

Actual Result :
# LANG=ru_RU.UTF8 install-num-migrate-to-rhsm -d -i 123
Ошибка разбора кода установки: Недопустимая длина строки

Expected Result :
Same as above

Tested for the below set of languages

Assamese	as_IN
Bengali		bn_IN
Oriya		or_IN
Punjabi		pa_IN     
Gujarati	gu_IN  
Marati		mr_IN  
Hindi 		hi_IN  
Tamil		ta_IN
Telgu		te_IN       
Kannada		kn_IN     
Malayalam	ml_IN  
Korean		ko_KR  
Japanese	ja_JP  
Chinese (latest)zh_CN
Chinese (trad)	zh_TW
Russian		ru_RU  
German		de_DE
Spanish		es_ES
Italian		it_IT  
Portugese (BRA) pt_BR
French		fr_FR  


Moving Bug to Verified state

Comment 12 errata-xmlrpc 2013-01-08 03:49:03 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.

http://rhn.redhat.com/errata/RHBA-2013-0033.html