-
Copy the directory "lang/en" to "lang/xx" ("xx" is you official language code like (fr, it, jp, de, de-at, ...)
-
Rename the file "en.inc.php" to "xx.inc.php" in the copied directory (has to be identical with the directory name!)
-
Copy the file “help.inc.php” into your directory (don't change the name)
-
Edit the "info.xml" file and change the values like described there.
Don't forget your eMail address!
-
Now the big part. Edit "xx.inc.php" and “help.inc.php”, and translate all values on the right side only. The left ones are keys which must be always the same (only for non-PHP-programmers). "%something%" are placeholders for some data like user- or domain- names. They are separated that you can place it where you need to have it in you language.
Important:
Make sure you use an editor which can save it as UTF-8.
Don't forget to change “...['en']“ to “...['xx']“ in both files. (around line 41)
-
After your translation work you have to add your "xx" key to your config. At the moment "en", “el” and "de-ch" are the only available languages.
Add this to your "config/config_site.inc.php":
$TUPA_CONF_VARS['SYS']['languages']='en|de-ch|el|yourkey';
-
You can test you language now in TUPA, and when everything works fine, open your mail program and send the (g)zipped directory to urs@tupa-dns.org . I will add your translation to the next release of TUPA.