From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Cc: Jordi Mallach <jordi@sindominio.net>
Subject: Re: localization of Grub
Date: Sun, 14 Dec 2008 02:03:48 +0100 [thread overview]
Message-ID: <20081214010348.GB25952@thorin> (raw)
In-Reply-To: <20081208143349.GA6086@pina.cat>
On Mon, Dec 08, 2008 at 03:33:49PM +0100, Carles Pina i Estany wrote:
>
> Hello,
>
> On Dec/08/2008, Carles Pina i Estany wrote:
>
> > I understand that we/I should adapt some scripts using, for example, this
> > guideline?:
> > http://www.gnu.org/software/automake/manual/gettext/Preparing-Shell-Scripts.html
> >
> > (I haven't tested now, I think that some years ago I did some tests with
>
> They use gettext.sh file, in my Debian is in:
> /usr/bin/gettext.sh, in package gettext-base . Do you think that this is
> the best way? Do we assume that gettext.sh it's there, or we provide
> backfail mechanism? (for example I don't think that this file comes with
> cygwin...)
>
> I can translate in two ways:
> ----
> echo $(gettext "hello world")
> eval_gettext "hello world";echo
> ----
>
> so, with eval_gettext (comes from gettext.sh) or from gettext binary
> straight.
>
> eval_gettext helps a bit substituing shell variables:
> # eval_gettext MSGID
> # looks up the translation of MSGID and substitutes shell variables in the
> # result.
> eval_gettext () {
> gettext "$1" | (export PATH `envsubst --variables "$1"`; envsubst
> "$1")
> }
>
> But we could do it without gettext.sh
>
> Which method do you think that we should use?
> With failback option?
I have no idea about this, and others in this list didn't reply. I suggest
you ask Jordi Mallach (CCed). He's quite knowledgeable about such things
and often hangs around here too ;-)
--
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."
next prev parent reply other threads:[~2008-12-14 1:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-26 8:16 localization of Grub Carles Pina i Estany
2008-09-26 8:34 ` Carles Pina i Estany
2008-09-26 11:13 ` Felix Zielcke
2008-09-26 12:19 ` Carles Pina i Estany
2008-09-28 13:39 ` Robert Millan
2008-09-28 21:49 ` Carles Pina i Estany
2008-09-29 14:59 ` Robert Millan
2008-09-29 18:48 ` Vesa Jääskeläinen
2008-09-29 21:47 ` Javier Martín
2008-09-29 23:14 ` Carles Pina i Estany
2008-09-29 22:55 ` Carles Pina i Estany
2008-12-07 23:33 ` Carles Pina i Estany
2008-12-08 14:33 ` Carles Pina i Estany
2008-12-14 1:03 ` Robert Millan [this message]
2009-01-04 11:36 ` Carles Pina i Estany
2008-12-14 1:02 ` Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081214010348.GB25952@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
--cc=jordi@sindominio.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.