Language files

From English DMXCWiki

Jump to: navigation, search

Since version 2.8 DMXControl has internationalization support. There are multiple files for each language:

  • <Language>.lng - This file is an resource file containing information about the language and the other language files
  • <Language>.chm - The help file for the particular language
  • <Language>.lng.forms - This textfile contains translations for all static texts in the forms
  • <Language>.lng.variables - This textfile contains translations for strings used in DMXControl

Normally, the last two files are compiled into the <Language>.lng. However, while creating or updating an languagefile it is helpful to directly edit the translation files and test the results without recompiling the .lng file. Whenever DMXControl finds corresponding .lng.forms or .lng.variables files for the selected language, it will load them instead of the version contained in the compiled language file.

We need your help!

The current versions of our english language files are far from perfect. So if you are a native speaker, please have a look on the following pages and feel free to improve our phrasing!

Please help us to find missing translations by adding the German string that is displayed at this article:

Thank you!

Translating to a new language

If you like to add another language to the available translations, please follow these steps:

  • Create a copy of the file English.lng in the "Languages" folder and name it after the language you want to translate into (<Language>.lng).
  • Create two empty files named <Language>.lng.forms and <Language>.lng.variables
  • Open those files with a text editor and copy the contents of the respective wiki pages (see above) into the files
  • Search for the following line
Bitte starten Sie DMXControl neu, um alle Sprachänderungen zu übernehmen.=Please restart DMXControl to apply all language changes.

and change the translation after the equal sign. This will allow you to decide which of the menu entries for the languages is the one for your new translation.

  • Start DMXControl. Under the "Settings" menu you will find the installed languages. There will be two entries for "English" because you copied the language file. Try to select one of them. If it was the right one, a messagebox with the string you already translated will appear. If it is still english, select the other menu entry.
  • Translate the other strings. You can always re-select the language from the menu to re-read the language file. This will only update strings and closed windows, opened tools have to be reopened to reflect changed translations.
  • When you are done translating, send us your results and we will create a compiled .lng file that will show up as the right language in DMXControl.

Thank you for your support!

Personal tools
Create a book