|
|
Rockbox mail archiveSubject: Using and building with the rockbox .lang filesFrom: Daniel Stenberg (daniel_at_haxx.se) Date: 2002-09-16
How's how it will work (and already works in my end):
1. There's a single file for every language we support.
2. We start off with only build-time language selection support. This can
For now, all sources in Rockbox that uses strings (except for the debug menu)
(This language support is for apps only, the firmware side of the world
All strings should be accessed with str(ID).
Right now, I get an english rockbox build like this:
$ ./genlang english.lang > lang.h
If I instead want to build my Swedish Rockbox, I do this:
$ ./genlang svenska.lang > lang.h
Now, since the english one is the "mother language" of Rockbox, that is to be
$ ./uplang english.lang svenska.lang > svenska-upd.lang
Now, I go through the "svenska-upd.lang" file and correct the lines that have
If we wanna build a language of which we have no knowledge, we can instead
$ ./uplang english.lang french.lang > french-upd.lang
-- Daniel "Bagder" Stenberg -- http://rockbox.haxx.se/
Page was last modified "Mar 9 2008" The Rockbox Crew |