Bug 619061
Summary: | kexec-tools translation is not Working in Firstboot in any supported languages | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | A S Alam <aalam> | ||||
Component: | kexec-tools | Assignee: | Cong Wang <amwang> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ankit Patel <ankit> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 6.0 | CC: | amwang, anross, eng-i18n-bugs, jsingh, kkrothap, mshao, nhorman, qcai, rkhan, sdunston, sshedmak, svenkate, swkothar | ||||
Target Milestone: | rc | Keywords: | i18n, RHELNAK, Translation | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | kexec-tools-2_0_0-132_el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-11-11 14:45:15 UTC | Type: | --- | ||||
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: | 552158, 576455 | ||||||
Attachments: |
|
Description
A S Alam
2010-07-28 13:35:28 UTC
*** Bug 552182 has been marked as a duplicate of this bug. *** *** Bug 552225 has been marked as a duplicate of this bug. *** *** Bug 559099 has been marked as a duplicate of this bug. *** *** Bug 563003 has been marked as a duplicate of this bug. *** *** Bug 563005 has been marked as a duplicate of this bug. *** *** Bug 567445 has been marked as a duplicate of this bug. *** *** Bug 552171 has been marked as a duplicate of this bug. *** *** Bug 552176 has been marked as a duplicate of this bug. *** This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** it is effecting all supported language, so requesting for Blocker Is this a firstboot problem or kexec-tools problem? Note that firstboot_kdump.py is provided by kexec-tools. I think this is due to that firstboot use /usr/share/locale/$LANG/LC_MESSAGES/firstboot.mo, while kexec-tools install the po/mo file as /usr/share/locale/$LANG/LC_MESSAGES/kexec-tools.mo. (In reply to comment #13) > I think this is due to that firstboot use > /usr/share/locale/$LANG/LC_MESSAGES/firstboot.mo, while kexec-tools install the > po/mo file as /usr/share/locale/$LANG/LC_MESSAGES/kexec-tools.mo. I guess not. Because firstboot calls s-c-date, s-c-user, etc tools as well, where translations are picked up from mo files of those individual apps. So, in the case of kdump screen it should use kexec-tools.mo only, rather than looking firstboot.mo. Anyways, someone might want to closely look at this bug. Thanks! Ankit (In reply to comment #14) > (In reply to comment #13) > > I think this is due to that firstboot use > > /usr/share/locale/$LANG/LC_MESSAGES/firstboot.mo, while kexec-tools install the > > po/mo file as /usr/share/locale/$LANG/LC_MESSAGES/kexec-tools.mo. > > I guess not. Because firstboot calls s-c-date, s-c-user, etc tools as well, > where translations are picked up from mo files of those individual apps. So, in > the case of kdump screen it should use kexec-tools.mo only, rather than looking > firstboot.mo. > I don't know why firstboot calls s-c-XXX here, for kexec-tools, s-c-kdump is a different package which should not be called by firstboot. And it is kexec-tools which provides firstboot_kdump.py and kexec-tools.mo, not s-c-kdump. And strace shows firstboot even doesn't look for kexec-tools.mo. Hi, it is looking for firstboot.mo because in /usr/share/firstboot/modules/firstboot_kdump.py there is _ = lambda x: gettext.ldgettext("firstboot", x) instead of the proper ...ldgettext("kexec-tools", x). So change that line and it will work. (In reply to comment #16) > Hi, > > it is looking for firstboot.mo because in > /usr/share/firstboot/modules/firstboot_kdump.py there is _ = lambda x: > gettext.ldgettext("firstboot", x) instead of the proper > ...ldgettext("kexec-tools", x). > So change that line and it will work. Cool, let's know once you fix this and make a new build. Thanks! Ankit Thanks much, Martin! That works! Created attachment 435472 [details]
screenshot of a localized kdump screen from firstboot
Attached screenshot is taken for Gujarati.
It's verified with kexec-tools-2.0.0-132.el6.x86_64. WORKING. FIXED.
Thanks to all who worked hard on this to fix it.
Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |