From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FYUKz-0007PT-FC for mharc-grub-devel@gnu.org; Tue, 25 Apr 2006 16:40:45 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYUKx-0007Ny-5m for grub-devel@gnu.org; Tue, 25 Apr 2006 16:40:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYUKv-0007NO-LE for grub-devel@gnu.org; Tue, 25 Apr 2006 16:40:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYUKv-0007NL-Ef for grub-devel@gnu.org; Tue, 25 Apr 2006 16:40:41 -0400 Received: from [157.24.2.30] (helo=smtp1.cc.lut.fi) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYUNS-0001wJ-5K for grub-devel@gnu.org; Tue, 25 Apr 2006 16:43:18 -0400 Received: from localhost (smtp1 [127.0.0.1]) by smtp1.cc.lut.fi (Postfix) with ESMTP id 8A09570467 for ; Tue, 25 Apr 2006 23:40:37 +0300 (EEST) Received: from smtp1.cc.lut.fi ([127.0.0.1]) by localhost (smtp1.cc.lut.fi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09213-04 for ; Tue, 25 Apr 2006 23:40:37 +0300 (EEST) Received: from [192.168.1.100] (lk4-a-4-1.lnet.lut.fi [157.24.102.107]) by smtp1.cc.lut.fi (Postfix) with ESMTP id 402D270182 for ; Tue, 25 Apr 2006 23:40:36 +0300 (EEST) Message-ID: <444E8946.9000206@nic.fi> Date: Tue, 25 Apr 2006 23:40:38 +0300 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: The development of GRUB 2 References: <444CACFA.5020901@raulete.net> <87mzeac40c.fsf@xs4all.nl> <200604242010.29290.okuji@enbug.org> <878xpubz36.fsf@xs4all.nl> In-Reply-To: <878xpubz36.fsf@xs4all.nl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: by lut.fi Content-Transfer-Encoding: quoted-printable 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:40:43 -0000 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 m= y idea=20 >> here: >> >> - GRUB needs to have a locale variable to determine a language. >> >> - GRUB needs to have gettext or something similar to translate message= s. >> >> - 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. 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? Thanks, Vesa J=E4=E4skel=E4inen