Translating WUU

From WUUki

Jump to: navigation, search

Contents

[edit] Status for internationalization in WUU

As of 1.3, there is no way of getting WUU in another language short of editing the source files manually, but we've been working on adding support for internationalization in the last beta versions. Support for different languages is planned for the 1.5 beta line, which will start as soon as 1.4 is released.

Support for languages other than English will require help from the community, in the way described below.

[edit] Creating a new translation

  1. Download this example translation - it's just a simple English-English language file, so it's not very interesting at the moment.
  2. Give the file a new name, for example "lang-de.xml" for German
  3. Open the file in a text editor, or preferrably an XML editor
  4. Change the attributes in the <langdef> tag: <languagedef code="de" name="German" version="280">
  5. Change the values in the <translator> tag if you want to, or just delete the tag if you don't want your name in the translation
  6. Edit all the values in the <translation> tags to you language - be sure to keep all the <original>s as-is
  7. Mail the finished file to lejordet+wuutrans@gmail.com, and I'll include it in the 1.5 beta
  8. Note that new strings can and will be added later - by then there'll probably be a better system for submitting translations ;)

The %(something)s / %(other)d keys are variables that'll be inserted into the string at run time - feel free to reorder them as needed by your translation, but keep the "%(text)d" untranslated.

[edit] Problems with the current language file

  • All the strings are out of context, so the exact translation can be a bit tricky - this'll hopefully be fixed in the future
  • It's not entirely complete (but it covers most of the UI)
  • There are some semi-duplicates still (nearly identical sentences, but slightly reworded, or with different punctuation/white space) - please report these, so we can change them to one common string

[edit] Available translations

Note that both translations are partial, due to the language engine being incomplete

  • lang-no.xml (Norwegian) is provided with WUU 1.5.378 (Author: Lars Erik Jordet)
  • lang-fr.xml (French) is available here (Author: Guillaume Crettaz)
  • lang-nl.xml (Dutch) is provided with WUU 1.7.545(2008.04.01): (Author: Pepijn Van der Heyden)
Personal tools