[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SOC - SGD based on grub2 - Menu and scripting status
From: |
Marco Gerards |
Subject: |
Re: SOC - SGD based on grub2 - Menu and scripting status |
Date: |
Tue, 25 Apr 2006 22:46:30 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Vesa Jääskeläinen <address@hidden> writes:
> Marco Gerards wrote:
>> "Yoshinori K. Okuji" <address@hidden> writes:
>>
>>> 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
>>> 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.
>>
>> 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