All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carles Pina i Estany <carles@pina.cat>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: localization of Grub
Date: Sun, 4 Jan 2009 12:36:05 +0100	[thread overview]
Message-ID: <20090104113605.GA26441@pina.cat> (raw)
In-Reply-To: <20081214010348.GB25952@thorin>


Hello,

On Dec/14/2008, Robert Millan wrote:
> On Mon, Dec 08, 2008 at 03:33:49PM +0100, Carles Pina i Estany wrote:

> > 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 ;-)

I've resent the mail to Jordi...

Today morning I've implemented a .mo reader, based on this
specification:
http://www.gnu.org/software/gettext/manual/html_node/MO-Files.html#MO-Files

It's a very basic implementation, and not inside Grub but as a C
standalone program.

After having the the shell scripts localization I will port my .mo
reader to Grub.

Right now is not using the hash table, we save a bit of space in the .mo
files and in code (I haven't implemented, I don't think that Grub has so
much strings to need the hash table, specially when the documentation
says:
-----------
The size S of the hash table can be zero. In this case, the hash table
itself is not contained in the MO file. Some people might prefer this
because a precomputed hashing table takes disk space, and does not win
that much speed. The hash table contains indices to the sorted array of
strings in the MO file. Conflict resolution is done by double hashing.
The precise hashing algorithm used is fairly dependent on GNU gettext
code, and is not documented here. 
-----------

Happy new year,

-- 
Carles Pina i Estany		GPG id: 0x17756391
	http://pinux.info



  reply	other threads:[~2009-01-04 11:36 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
2009-01-04 11:36               ` Carles Pina i Estany [this message]
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=20090104113605.GA26441@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.