Bug 769433 - [ALL LANG] panel headings are not translated in firstboot
Summary: [ALL LANG] panel headings are not translated in firstboot
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 5.8
Assignee: John Sefler
QA Contact: Entitlement Bugs
URL:
Whiteboard:
Depends On:
Blocks: 715031 772956
TreeView+ depends on / blocked
 
Reported: 2011-12-20 19:58 UTC by John Sefler
Modified: 2012-08-10 12:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2012-02-21 06:44:08 UTC
Target Upstream Version:


Attachments (Terms of Use)
"Entitlement Registration" translation is not rendered in firstboot (118.58 KB, image/png)
2011-12-20 20:00 UTC, John Sefler
no flags Details
"Subscription Manager" translation is not rendered in firstboot (127.44 KB, image/png)
2011-12-20 20:00 UTC, John Sefler
no flags Details
"Entitlement Registration" translation is NOW rendered in firstboot (125.39 KB, image/png)
2011-12-21 21:57 UTC, John Sefler
no flags Details
"Subscription Manager" translation is NOW rendered in firstboot (137.93 KB, image/png)
2011-12-21 21:58 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0154 0 normal SHIPPED_LIVE subscription-manager bug fix update 2012-02-20 15:06:04 UTC

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


Note You need to log in before you can comment on or make changes to this bug.