From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MHbTs-0004G9-0i for mharc-grub-devel@gnu.org; Fri, 19 Jun 2009 06:38:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MHbTq-0004Dz-30 for grub-devel@gnu.org; Fri, 19 Jun 2009 06:37:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHbTj-0004A1-TP for grub-devel@gnu.org; Fri, 19 Jun 2009 06:37:56 -0400 Received: from [199.232.76.173] (port=57131 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHbTj-00049T-Mw for grub-devel@gnu.org; Fri, 19 Jun 2009 06:37:51 -0400 Received: from aybabtu.com ([69.60.117.155]:33410) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MHbTi-0007my-9Z for grub-devel@gnu.org; Fri, 19 Jun 2009 06:37:50 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MHaR0-00056M-LY for grub-devel@gnu.org; Fri, 19 Jun 2009 11:30:59 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MHbTf-0005AU-9A for grub-devel@gnu.org; Fri, 19 Jun 2009 12:37:47 +0200 Date: Fri, 19 Jun 2009 12:37:47 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090619103747.GC19777@thorin> References: <20090616214709.GA31314@pina.cat> <20090618205607.GA20132@pina.cat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090618205607.GA20132@pina.cat> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Subject: Re: Fw: gettext support X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 10:37:58 -0000 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? 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."