grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: gettext support


From: Vladimir 'phcoder' Serbinenko
Subject: Re: Fw: gettext support
Date: Fri, 19 Jun 2009 12:42:26 +0200



On Fri, Jun 19, 2009 at 12:37 PM, Robert Millan <address@hidden> wrote:
On Thu, Jun 18, 2009 at 09:56:07PM +0100, Carles Pina i Estany wrote:
> > >         -Copy ca.mo to /usr/share/locale/ca/LC_MESSAGES/grub.mo
> >
> > Languages files should go to a subdir of $PREFIX. E.g. to
> > $PREFIX/langs/$LANG.mo linux directories may be inaccessible
>
> Now the gettext module will search in $prefix/locale/lang.mo, where lang
> is the variable that the user will setup in grub.cfg (e.g. ca for
> catalan) and $prefix is usually /boot/grub

Uhm I'm not sure I agree on this one.  Sure, they may be inaccessible, but
only in very rare setups.  On the other hand, we _still_ need a .mo in the
standard directory, because some strings in grub-mkconfig are critical
(they generate text that populates menu entry titles).  So that would mean
installing two .mo files.  Is it really worth the hassle?
It's not a problem. We need two locations anyway: one where make install copies them and the other one where ./grub-install copies them. Would it be possible to use /usr/share/grub/locale/$LANG.mo rather than /usr/share/locale/$LANG/LC_
MESSAGES/grub.mo? It would make grub-install easier

What does everyone else think about this?

--
Robert Millan

 The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
 how) you may access your data; but nobody's threatening your freedom: we
 still allow you to remove your data and not access it at all."


_______________________________________________



--
Regards
Vladimir 'phcoder' Serbinenko

reply via email to

[Prev in Thread] Current Thread [Next in Thread]