Export to GitHub

themonospot - LanguageFile.wiki


Use language files

From release 0.6.4 Themonospot support language files. Are xml files containing rows of follow type:

<KEY>

Value

</KEY>

their names are equal to (language_name).xml and you can find them: * On Linux: in the folder /usr/share/themonospot/languages * On Windows: in the folder (application_path)\languages Themonospot select automatically language file to use by user language configured. If there isn't a language file named as user language configured, select english.xml language file as default.

#

Modify language file

To modify an existent language file you need only write/update access at languages folder and can do it with a text editor (gedit, kwrite, kate, notepad, wordpad, etc.).

#

Add new language file

To add a language file for your user language configured you need: 1. write/update access at languages folder 1. know your user language exact name (English is different from english) on your system

To detect fastly your user language name you can lunch Themonospot from a shell in DEBUG MODE: mono --debug (application_path)/themonospot.exe so you can read the shell message that report this information: System language = english; Available language = english

If you have a (system language).ls file in your Themonospot languages folder, the application already select it as language file.

Otherwise you can create a new text file with name (system language).xml in your Themonospot languages folder. After copy and paste KEYS NAME in this file from other language file and complete it with KEYS VALUE in your language.