My favorites | Sign in
Project Logo
                
Search
for
Updated Feb 04, 2010 by handschuh.stefan
TranslationCreation  
HowTo create/modify a translation

New Translation

The first step is to find out, where your jaolt installation is located at. On *nix Systems this should be

/usr/share/jaolt

Windows

C:\Program Files\jAOLT

MacOSX

wherever you put the .app directory at

Once you have located the directory, there exists a subdirectory called

data/languages

in which one should find different language_XX.xml -files

Here is the mapping of these XX-Codes:

   1 == German
   2 == English
   5 == French
   6 == Italian
   7 == Dutch
  13 == Spanish
  14 == Taiwanese
  16 == Japanese
  17 == Korean
  18 == Chinese
  23 == Polish
  24 == Swedish
  26 == Malay
  30 == Thai
  33 == Arabic

From now on, we pretend to create a new Korean translation. The fist thing to do is to create a file language_17.xml in the data/languages-directory with its initial content

<language code="17" foreignname="한국어" dateformat="yyyy-MM-dd" timeformat="HH:mm:ss">
   <strings/>
</language>

Note: you may also add the parameter lefttoright="false" to enable right-to-left gui-creation.

To edit the newly created translation, stick to the following chapter:

Modifying a translation

There exists a file called languageeditor.jar in your local jaolt installation (see above) which one can start either by (double) clicking on it (works only if the JAVA-Runtime-Environment is properly configured) or by typing

java -jar PATH/TO/JAOLT/INSTALLATION/languageeditor.jar

into your systems console.

Now, a (poorly made) Window should open where one can edit all the languages intuitively.

Powered by Google Project Hosting