Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: multi-language rockbox version

Re: multi-language rockbox version

From: perterm <perterm_at_vce.de>
Date: Tue, 03 Sep 2002 16:57:52 +0200

Daniel Stenberg wrote:


> #define HELLO_WORLD_ID "hello world"
> #define BYE_BYTE_WORLD_ID "bye bye world"


Do you think it might be a good idea to make a rule that each of these
macros should have a defined prefix like

#define STR_HELLO_WORLD_ID "hello world"
#define STR_BYE_BYTE_WORLD_ID "bye bye world"

That might make it easier to write template generators for the
language-meta-files from the source code.

> My described system is also open for further modifications of the format, as
> we might need to introduce "maximum string length" for specific strings etc
> in the future.


In characters or in pixel? I see the necessity but with propfonts that
will be a difficult task. A simple editable text file will be not an
option any more. It might be necessary to write an
translation-editor-application that can calculate the real string widths
as they would appear on the Jukebox. That's a bit of overkill
considering that this translation-editor will be used only every now and
than when a new string/language is added to rockbox.

Phil
Received on 2002-09-03

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy