Bug 827161

Summary: [bn_IN] failed pofilter xmltags tests for subscription-manager translations
Product: Red Hat Enterprise Linux 5 Reporter: Sharath Dwaral <fsharath>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED CURRENTRELEASE QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: ankit, jgalipea, runab
Target Milestone: rcKeywords: i18n, Translation
Target Release: 5.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-09 17:45:32 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: 771748    

Description Sharath Dwaral 2012-05-31 19:12:59 UTC
Description of problem:
The gnome xmltags were not properly translated for '' language.  Sample output is shown below, 


Version-Release number of selected component (if applicable):
[root@jsefler-r63-server ~]# rpm -q subscription-manager
subscription-manager-0.99.19-1.el6.x86_64

How reproducible:


Steps to Reproduce:
[root@fsharath-rhel63server ~]# msgunfmt --no-wrap /usr/share/locale/bn_IN/LC_MESSAGES/rhsm.mo -o /usr/share/locale/bn_IN/LC_MESSAGES/rhsm.po
[root@fsharath-rhel63server ~]# pofilter --gnome -t xmltags /usr/share/locale/bn_IN/LC_MESSAGES/rhsm.po
processing 1 files...
msgid ""
msgstr ""
"Project-Id-Version: l 10n\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-05-16 08:40-0400\n"
"PO-Revision-Date: 2012-04-13 02:03-0400\n"
"Last-Translator: runab <runab>\n"
"Language-Team: Bengali (India) <anubad.org.in>\n"
"Language: bn-IN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Zanata 1.5.0\n"


# (pofilter) xmltags: Different XML tags
msgid "Product entitlement certificates <i>valid</i> until %s"
msgstr "উৎপাদনের সার্টিফিকেটগুলি %s অব্দি বৈধ রয়েছে"

# (pofilter) xmltags: Different XML tags
msgid "You have <b>%s</b> products in need of <i>additional</i> entitlement certificates."
msgstr "<b>%s</b>-টি উৎপাদনের জন্য অতিরিক্ত এনটাইটেলমেন্ট সার্টিফিকেট প্রয়োজন।"

# (pofilter) xmltags: Different XML tags
msgid "You have <b>1</b> product in need of <i>additional</i> entitlement certificates."
msgstr "<b>১</b>-টি উৎপাদনের জন্য অতিরিক্ত এনটাইটেলমেন্ট সার্টিফিকেট প্রয়োজন।"
 (com.redhat.qe.tools.SSHCommandRunner.runCommandAndWait)
  
Actual results:
Shown above

Expected results:

Tags for "Italics" (<i> </i>) are to be embeded into the translated language

Additional info:

http://translate.sourceforge.net/wiki/toolkit/pofilter_tests#xmltags

Comment 2 RHEL Program Management 2012-06-04 05:47:53 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 Sharath Dwaral 2012-06-04 21:46:12 UTC
>Description of problem:
>The gnome xmltags were not properly translated for 'bn_IN' language.  Sample >output is shown below,

Comment 4 Runa Bhattacharjee 2012-06-27 09:22:30 UTC
Now fixed. The translated version of the file downloaded from zanata, passes the gettext test: 
msgfmt -v keys.po 
570 translated messages.

Comment 5 Bryan Kearney 2012-07-03 18:04:59 UTC
fixed in 1.0.8 or later of subscription manager.

Comment 6 Sharath Dwaral 2012-07-12 22:20:55 UTC
Version:
# rpm -qa | egrep "subscription-manager|python-rhsm"
subscription-manager-gui-1.0.9-1.git.4.59ef2fe.el5
python-rhsm-1.0.3-1.git.2.47dc8f4.el5
subscription-manager-migration-data-1.11.2.2-1.git.0.2eea155.el5
subscription-manager-migration-1.0.9-1.git.4.59ef2fe.el5
subscription-manager-firstboot-1.0.9-1.git.4.59ef2fe.el5
subscription-manager-1.0.9-1.git.4.59ef2fe.el5

Verification:
# msgunfmt --no-wrap /usr/share/locale/bn_IN/LC_MESSAGES/rhsm.mo -o /usr/share/locale/bn_IN/LC_MESSAGES/rhsm.po

# pofilter --gnome -t xmltags /usr/share/locale/bn_IN/LC_MESSAGES/rhsm.po
processing 1 files...
[###########################################] 100%

Moving bug to VERIFIED

Comment 7 Bryan Kearney 2013-01-09 17:45:32 UTC
Batch change of verified bugs which must have missed making the errata.