Translation

From version 0.2.9 there exists a translation function in the program. Any static text within the program may be translated into about any (western) language. The translation is made by a translationfile (a well-formed XML-file) that anybody can create.

The file should be located in the translation directory (./Translation/) to be found by the program.

The translation file looks like follows;

as every xml files it has a header that looks like follow:
<?xml version="1.0" encoding="ISO-8859-1"?>

Then it has its root element:
<Language lang="Svenska" author="Tubbebubbe">
where 'lang' describes what language it translates into.
The convension is that this 'lang' is in the translated language, while the name of the file is in English!

After that, the different forms has their own section:

Of which every has its own subsections (makes no differencs what they're called, just simplifies)

Have a look at my swedish translation to see for your self... Not to complicated.

Just remember; XML must be well-formed and the parser is case-sensitive!

Just one more thing:
Some buttons in the program has keyboard shortcuts (like Blank). When translated, this is done by putting an & in front of the shortcut letter. In the XML-file you have to do this by writing &amp;.

To create your own translation file, you can get a template here to make it easier.