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



Rockbox mail archive

Subject: loadable language

loadable language

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 24 Sep 2002 16:12:33 +0200 (MET DST)

I've just recently committed code that allows users to load .lng files to
replace the internal language strings with a custom version.

The .lng files are created with the new 'binlang' utility in the tools
directory.

This puts the following restrictions on new and old strings:

1. When you add new strings to english.lang, they must be added last in the
   file.
2. When you remove strings, don't remove them from english.lang, just make
   the string empty.

If these rules are not followed, we must bump the language file header
version (which we will attempt to do not more often than for each release).

Also, we can still use the existing system to select built-in language using
the configure script but binary releases from rockbox.haxx.se are likely to
only be using english built-in.

We're working on making the selected language file saved so that reboots will
use the previously selected language file (which is the same as with fonts
and wps files too).

Any day now, we will provide automaticly generated .lng files from the
rockbox site, so the average user doesn't need to generate anything, just
download their favourite language(s).

Thanks to all translators for their efforts.

-- 
Daniel "Bagder" Stenberg -- http://rockbox.haxx.se/
Received on 2002-09-24

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