• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Infrastructure → Build environment
  • Assigned To
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by rasher - 2007-11-26
Last edited by rasher - 2010-07-25

FS#8233 - Use XML for language source files

This is the current status of my work to switch to using XML for the language source-files. I basically stopped working on it in the middle of it all, and I’m not even completely sure why, right now.

What I’ve done so far:
- Created a basic structure of the file format, and documented it with an XMLschema file
- Written a tiny script that validates languages against this schema
- Written a script to convert v2 languages to XML - Started a rewritten ganlang that should end up as a drop-in replacement for the old one.

What’s missing (all in genlang):
- Deciding how to put translator notes into the source file
- Add checks for differing <source> between English and the translation
- Add header/sourcefile generation
- Fix any braindead design decisions.

See my reasons for doing this here:

Closed by  rasher
2010-07-25 01:20
Reason for closing:  Rejected
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

On second thought, let's not go to Camelot. It is a silly place.

I am older and wiser now, and clearly see the errors of my ways. I don't think this is such a great idea.

Here’s an updated version that is almost able to build Rockbox properly using XML source languages - the binary languages will work, but they’ll be missing some strings. The other functions (update, voice output) are not properly implemented yet.

This one actually builds identical binary language files.

That last patch is obviously incomplete. I’m afraid I’ve lost some work. Here’s the latest I still have around. I’m not entirely sure what the status of this one is.


Available keyboard shortcuts


Task Details

Task Editing