Skip to content
crass edited this page Mar 24, 2017 · 1 revision

Do you want to translate dng4ps-2 into your language?

Do you want to translate dng4ps-2 into your language? There is simple way to translate it.

  1. Search for and download the *.po file for your language (just select "Save link as" in right-click menu):

    • de.po - German translation
    • en.po - English translation
    • es.po - Spanish translation
    • fi.po - Finnish translation
    • it.po - Italian translation
    • nn.po - Norvegian translation
    • pl.po - Polish translation
    • ru.po - Russian translation
    • zh.po - Chinese translation
  2. If the file for your language already exists, you have to translate only the untranslated strings. If you don't find your language's file in list, you have to translate all the strings in English translation (en.po).

  3. Structure of *.po file is very simple. It is -a plain text file. It consists of msgid and msgstr pairs:

    msgid "btnCancel" msgstr "Cancel"
    msgid "btnOk" msgstr "OK"
    msgid "btnExit" msgstr "Exit"
    

    You have to change only 'msgstr' part of pairs like this:

    msgid "btnCancel" msgstr "Отмена"
    msgid "btnOk" msgstr "OK"
    msgid "btnExit" msgstr "Выход"
    
  4. After translation, save your .po file with Utf-8 coding. Then you can create a fork and make a pull request against your changes. Alternatively, you can create an anonymous gist and create an issue with a link to the gist.

Clone this wiki locally