Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
kexec-tools translation is not Working in Firstboot in any supported languages.
Version-Release number of selected component (if applicable):
firstboot-1.110.5-1.el6.x86_64
kexec-tools-2.0.0-125.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. LANG=ru_RU.UTF-8 firstboot --debug --reconfig
2. observe Kdump screen
3.
Actual results:
kdump window is appearing in English
Expected results:
kdump window should appear in respective locale (Russian)
Additional info:
Russian is 100% translated for kexec-tools
*** Bug 552176 has been marked as a duplicate of this bug. ***
Comment 10RHEL Program Management
2010-07-28 13:57:49 UTC
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. **
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
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.
Comment 20releng-rhel@redhat.com
2010-11-11 14:45:15 UTC
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.