Bug 769433

Summary: [ALL LANG] panel headings are not translated in firstboot
Product: Red Hat Enterprise Linux 5 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: John Sefler <jsefler>
Status: CLOSED ERRATA QA Contact: Entitlement Bugs <entitlement-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.8CC: alikins, wpoteat
Target Milestone: rc   
Target Release: 5.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 06:44:08 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: 715031, 772956    
Attachments:
Description Flags
"Entitlement Registration" translation is not rendered in firstboot
none
"Subscription Manager" translation is not rendered in firstboot
none
"Entitlement Registration" translation is NOW rendered in firstboot
none
"Subscription Manager" translation is NOW rendered in firstboot none

Description John Sefler 2011-12-20 19:58:56 UTC
Description of problem:
See screenshots...  The "Entitlement Registration" and "Subscription Manager" headings are not rendered in their translated form in firstboot...
These rendered translation worked in rhel62.

Note that the translated values appear to exist, but they are not rendered as such...
 
[root@rhel58-server-snap1 ~]# msgunfmt /usr/share/locale/ja/LC_MESSAGES/rhsm.mo | grep "\"Subscription Manager\"" -A1
msgid "Subscription Manager"
msgstr "サブスクリプションマネージャー"

[root@rhel58-server-snap1 ~]# msgunfmt /usr/share/locale/ja/LC_MESSAGES/rhsm.mo | grep "Entitlement Registration" -A1
msgid "Entitlement Registration"
msgstr "エンタイトルメントの登録"



Version-Release number of selected component (if applicable):
[root@rhel58-server-snap1 ~]# rpm -q subscription-manager-firstboot
subscription-manager-firstboot-0.98.8-1.el5


How reproducible:


Steps to Reproduce:
# rm -f /etc/sysconfig/firstboot 
# LANG=ja_JP.UTF-8 firstboot

Comment 1 John Sefler 2011-12-20 20:00:07 UTC
Created attachment 548936 [details]
"Entitlement Registration" translation is not rendered in firstboot

Comment 2 John Sefler 2011-12-20 20:00:44 UTC
Created attachment 548938 [details]
"Subscription Manager" translation is not rendered in firstboot

Comment 3 Adrian Likins 2011-12-20 22:17:36 UTC
commit 51137576d735444c3dc752dc1a6fa3f1e82f7b10
Author: Adrian Likins <alikins>
Date:   Tue Dec 20 16:58:27 2011 -0500

    769433: Tag the module names as gettext
    
    (we already have these strings elsewhere, so
    no new strings)

Comment 4 John Sefler 2011-12-21 17:01:17 UTC
Still not working for me on version...
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager-firstboot
subscription-manager-firstboot-0.98.9-1.git.2.5113757.el5_7

moving back to NEW/FailedQA

Comment 5 Adrian Likins 2011-12-21 20:56:42 UTC
commit 6453a4f6423ddcab46fd2f3ba5b2cf59495f90a5
Author: Adrian Likins <alikins>
Date:   Wed Dec 21 13:01:02 2011 -0500

    769433: make rhel5 firstboot modules use bound gettext
    
    firstboot was overwriting textdomain, so intead of
    using global text domain, use a gettext method
    bound with the rhsm text domain.
    
    Fixes the module names not showing up translated
    in firstboot.

Comment 6 John Sefler 2011-12-21 21:57:31 UTC
Created attachment 549086 [details]
"Entitlement Registration" translation is NOW rendered in firstboot

Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager-firstboot
subscription-manager-firstboot-0.98.9-1.git.4.84d7860.el5_7

Comment 7 John Sefler 2011-12-21 21:58:22 UTC
Created attachment 549087 [details]
"Subscription Manager" translation is NOW rendered in firstboot

Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager-firstboot
subscription-manager-firstboot-0.98.9-1.git.4.84d7860.el5_7

Comment 8 William Poteat 2012-01-23 16:33:58 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No description necessary

Comment 9 errata-xmlrpc 2012-02-21 06:44:08 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-2012-0154.html