[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

View: New views
12 Messages — Rating Filter:   Alert me  

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

URL:
  <http://savannah.gnu.org/bugs/?35880>

                 Summary: grub tries to load $grubdir/locale/en.mo.gz
                 Project: GNU GRUB
            Submitted by: floppym
            Submitted on: Sat 17 Mar 2012 10:04:45 PM GMT
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Mike Gilbert
        Originator Email: floppym@...
             Open/Closed: Open
         Discussion Lock: Any
                 Release:
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Grub tries to load an English translation if grub-mkconfig is run with an
English locale (LANG=en_US.UTF-8).

This causes an error message to briefly displayed before the menu loads on
boot up.

This was originally reported downstream at Gentoo Linux.

https://bugs.gentoo.org/show_bug.cgi?id=408599




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #1, bug #35880 (project grub):

This is not a bug. "en" locale may also need some translation like handling
proper quoting, see en@quot. So not loading it wouldn't be correct.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #2, bug #35880 (project grub):

As far as I can tell, en.mo.gz is never created, so attempting to load it will
never succeed.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #3, bug #35880 (project grub):

It's not created because there is no en.po. But the same holds also for e.g.
es.po (Spanish) but we need to give a reason why GRUB isn't in locale language
despite being configured for it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #4, bug #35880 (project grub):

Yes, but English is a bit of a special case; the messages are already written
in English.

Nobody really cares about quotes in their boot loader.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #5, bug #35880 (project grub):

I think the main issue is that the error is misreported; it should tell the
user that the en_US dialect is missing, rather than complaining about a base
en translation that will never exist.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

Parent Message unknown [bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #7, bug #35880 (project grub):

Right, so your point is that *other* applications have English translations.
Is such a thing in the works for GRUB?

If not, maybe you could just add an empty translation for English to prevent
the error message from happening at boot.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #8, bug #35880 (project grub):

The problem here basically is that user requests specifically en_US and not
C/POSIX and neither en_US nor en is available.
And actually en_US translation for GRUB would make the sense since currently
the translation also specifies date format and by default GRUB uses ISO date.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #9, bug #35880 (project grub):

True.

Perhaps we should change this from a bug to a feature request: add "en" and
"en_US" translations.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #10, bug #35880 (project grub):

IMO the problem is not so much what it try to load but the error message when
a locale setting without translation is used.

The complaint about the missing locale is relevant when grub-mkconfig is run -
not so much on runtime.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #11, bug #35880 (project grub):

Vladimir, I think that this is a kind of odd position to take, honestly.
Userspace gettext falls back silently to untranslated text if translations are
unavailable.  I don't see why boot loader translations are so much more
important than userspace translations that they require printing an error
message; furthermore, surely in cases of doubt similarly-named parts of the
GNU system should behave similarly, and therefore GRUB gettext should adopt
the behaviour of GNU libc gettext here.

(file #26488)
    _______________________________________________________

Additional Item Attachment:

File name: gettext_quiet.patch            Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub

[bug #35880] grub tries to load $grubdir/locale/en.mo.gz

by Jimmy Zelinskie :: Rate this Message:

| View Threaded | Show Only this Message

Follow-up Comment #12, bug #35880 (project grub):

For the record, this silly complaint is patched out the very same way at least
openSUSE and ALT Linux.

(file #27564)
    _______________________________________________________

Additional Item Attachment:

File name: grub2-fix-locale-en.mo.gz-not-found-error-message.patch Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35880>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@...
https://lists.gnu.org/mailman/listinfo/bug-grub