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



Rockbox mail archive

Subject: Preparing for langv2

Preparing for langv2

From: Daniel Stenberg <daniel_at_rockbox.org>
Date: 2006-03-29

Hey devs

I have a (mostly) working 'genlang2' script done. It is intended to replace
genlang, uplang and binlang when we switch to the langv2 file format.

If you feel like trying it out now, do this:

   * Apply http://daniel.haxx.se/rockbox/langv2-1.patch
   * convert english.lang to english.lang2 with the langv1tov2 script
   * rebuild

langv1tov2 can convert lang files using any language to the v2 format. It is
actually interesting to first convert and then try the genlang2 -u option to
update a translation.

I do have a question for the voicing support: I figure we should make the
script somehow easily output what phrases a particular target wants/needs
voice strings for so that you voice scripters can use it easily. If so, in
what format and how would the script deliver that info?

About langv2 in general:

The original idea summary is here: http://daniel.haxx.se/rockbox/langv2

My attack on this is primarily focused on these items:

  1 - Introduce the new file format
  2 - Make target-specific outputs so that no build needs to include strings
      or voice clips not used for the particular target and make sure that all
      strings used are correct, like referring to the correct button names etc.
  3 - Make the binary language load system remain untouched to work as before

What I intentionally have not addressed and do not intend to address before
3.0:

  * Adding support for translated/voiced plugins

-- 
  Daniel Stenberg -- http://www.rockbox.org/ -- http://daniel.haxx.se/
Received on Wed Mar 29 12:28:11 2006

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa