Language File Documentation
The structure of stringtable.xml is self-explanatory, editing the xml file of a particular language is explained below.
In addition to the indivdual browser skins, there are stand-alone skins for start pages. These may or may not have any independent stringtable.xml file. If no independent stringtable.xml is used, the texts are found in the browser skins.
1. Editing the Language Files
Make a backup copy of the file so that you can restore to in case of problems. Now open the file in Windows Notepad text editor. Be sure to use Notepad and not Winword or similar software. This is so special and non-Latin characters in the the stringtable.xml file which contains UTF-8 encoded characters is stored in the proper format.
If you edit this file, make sure beforehand that your text editor includes UTF-8 support.
It is important that the string table IDs remain correct.
<string id="1">Forward</string> |
<string id="1">New Text</string> |
It is also important that you keep the length of each string about its original size. Shorter texts are ok but longer texts should be avoided as this can lead to display problems in the skin.
If you do not want to edit the existing text, but rather want to create a translation for a language that is not included, you should refer to the English xml file as a template for the translation.
After you have completed the translation of a new language, please email the file to us. We will integrate the new language into the SiteKiosk skins and the changes will be incorporated into the next version of the SiteKiosk installer.
Special characters that are used in HTML must be stored as a decimal to avoid display problems.
For example, a < must be stored as < and a > like this >.
You can find an overview of special characters and the corresponding decimal values at:
http://www.html-world.de/program/html_sz.php.<language id="9"> |
<string id="1">Vorwärts</string> |
</language> |
LANG_AFRIKAANS | 54 |
LANG_ALBANIAN | 28 |
LANG_ARABIC | 1 |
LANG_ARMENIAN | 43 |
LANG_ASSAMESE | 77 |
LANG_BULGARIAN | 2 |
LANG_CATALAN | 3 |
LANG_CHINESE | 4 |
LANG_CROATIAN | 26 |
LANG_CZECH | 5 |
LANG_DANISH | 6 |
LANG_DUTCH | 19 |
LANG_ENGLISH | 9 |
LANG_ESTONIAN | 37 |
LANG_FINNISH | 11 |
LANG_FRENCH | 12 |
LANG_FRENCH-BELGIUM | 2060 |
LANG_GERMAN | 7 |
LANG_GREEK | 8 |
LANG_HEBREW | 13 |
LANG_HINDI | 57 |
LANG_HUNGARIAN | 14 |
LANG_ICELANDIC | 15 |
LANG_INDONESIAN | 33 |
LANG_ITALIAN | 16 |
LANG_JAPANESE | 17 |
LANG_KANNADA | 75 |
LANG_KOREAN | 18 |
LANG_LATVIAN | 38 |
LANG_LITHUANIAN | 39 |
LANG_MACEDONIAN | 47 |
LANG_MALAY | 62 |
LANG_MALAYALAM | 76 |
LANG_MARATHI | 78 |
LANG_NORWEGIAN | 20 |
LANG_POLISH | 21 |
LANG_PORTUGUESE | 22 |
LANG_ROMANIAN | 24 |
LANG_RUSSIAN | 25 |
LANG_SERBIAN | 26 |
LANG_SLOVAK | 27 |
LANG_SLOVENIAN | 36 |
LANG_SPANISH | 10 |
LANG_SWEDISH | 29 |
LANG_THAI | 30 |
LANG_TURKISH | 31 |
See also