Rockbox mail archive
Subject: Re: [PATCH]: francais.lang
From: Daniel Stenberg (daniel_at_haxx.se)
Date: 2002-09-23
On Sat, 21 Sep 2002, Olivier BUTLER wrote:
> By the way, ( I didn't read all the previous mails ) , can someone explain
> me why was it so complicated to use arrays of string ( in fact pointers ) (
> one array per language) instead of scripts, perl and so on.
Because:
1. we want to handle missing strings in the translation (that default to
english ones)
2. we don't depend on an array order or specific position since we want to be
able to easily remove strings
3. we haven't locked ourselves into a set format for the binary code, we can
easily change the array into something different, should we come up with
something
4. we'll soon generate loadable translations, and then we won't be using
those translated arrays this way anymore...
--
Daniel "Bagder" Stenberg -- http://rockbox.haxx.se/
Page was last modified "Jan 10 2012" The Rockbox Crew
|