From: Carles Pina i Estany <carles@pina.cat>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: localization of Grub
Date: Mon, 8 Dec 2008 15:33:49 +0100 [thread overview]
Message-ID: <20081208143349.GA6086@pina.cat> (raw)
In-Reply-To: <20081207233308.GA15844@pina.cat>
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?
Thanks,
--
Carles Pina i Estany GPG id: 0x17756391
http://pinux.info
next prev parent reply other threads:[~2008-12-08 14:33 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 [this message]
2008-12-14 1:03 ` Robert Millan
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=20081208143349.GA6086@pina.cat \
--to=carles@pina.cat \
--cc=grub-devel@gnu.org \
/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.