From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FYUP1-0000Dg-2V for mharc-grub-devel@gnu.org; Tue, 25 Apr 2006 16:44:55 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYUOz-0000DG-KO for grub-devel@gnu.org; Tue, 25 Apr 2006 16:44:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYUOy-0000CQ-AX for grub-devel@gnu.org; Tue, 25 Apr 2006 16:44:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYUOy-0000CM-6E for grub-devel@gnu.org; Tue, 25 Apr 2006 16:44:52 -0400 Received: from [194.109.24.35] (helo=smtp-vbr15.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYURU-0002Jx-Re for grub-devel@gnu.org; Tue, 25 Apr 2006 16:47:29 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr15.xs4all.nl (8.13.6/8.13.6) with ESMTP id k3PKiowJ036673 for ; Tue, 25 Apr 2006 22:44:50 +0200 (CEST) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB 2 References: <444CACFA.5020901@raulete.net> <87mzeac40c.fsf@xs4all.nl> <200604242010.29290.okuji@enbug.org> <878xpubz36.fsf@xs4all.nl> <444E8946.9000206@nic.fi> From: Marco Gerards Date: Tue, 25 Apr 2006 22:46:30 +0200 In-Reply-To: <444E8946.9000206@nic.fi> (Vesa =?iso-8859-1?Q?J=E4=E4skel=E4?= =?iso-8859-1?Q?inen's?= message of "Tue, 25 Apr 2006 23:40:38 +0300") Message-ID: <87d5f5jsd5.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: SOC - SGD based on grub2 - Menu and scripting status 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: Tue, 25 Apr 2006 20:44:53 -0000 Vesa J=E4=E4skel=E4inen writes: > Marco Gerards wrote: >> "Yoshinori K. Okuji" writes: >>=20 >>> On Monday 24 April 2006 18:49, Marco Gerards wrote: >>>>> 4) What is the best way for dealing with languages and translations >>>>> when developing? >>>> We are thinking about i18n support. This is something about this on >>>> the wiki, I think. >>> I don't think this part is described well in the wiki. So I describe my= idea=20 >>> here: >>> >>> - GRUB needs to have a locale variable to determine a language. >>> >>> - GRUB needs to have gettext or something similar to translate messages. >>> >>> - GRUB needs to be able to generate .po files compatible with gettext. >>=20 >> Will this mean Adrian can use it for menu entries as well? I think >> that is what he wants to do. > > I think this is one of the possibilities. Giving support to script in > form like this: > > menuentry $gettext("My menu entry text") { > > } > > Though gettext is not perfect in all places, but could be enough for us. That sounds sane to me. > I am still wondering what are the features of the scripting language. > Marco could you write some summary of your ideas somewhere and some > syntaxical examples? Sure. I wrote a lot of emails about it. But it might be nice to have something more coherent on the wiki. I'll work on that... someday. :) -- Marco