Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > 412c0b93921e1f1a8421153a6a7e6180 > files > 19

djview4-4.9-2.mga3.x86_64.rpm



HOW TO CREATE NEW TRANSLATION FILES FOR DJVIEW.
-----------------------------------------------


- Determine the language code for your language.
  Sometimes language codes have suffixes in capital letters
  for describing variants. But we always use lowercase.
  For instance, use 'zh_cn' or 'zh_tw' for the two variants of chinese. 
  In the following explanation we assume 'de' for german.

- Go to directory 'src'
        $ cd src

- Add the following line into file 'djview.pro'
        TRANSLATIONS += djview_de.ts 

- Run the Qt program 'lupdate'
        $ lupdate djview.pro

- A file named djview_de.ts must have been created.
  You must edit the translations using the Qt program 'linguist'.
        $ linguist djview_de.ts
  See the linguist documentation in the Qt documentation.
  Alternatively you can use 'kbabel' to edit the ts file.

- Run the Qt program 'lrelease'
        $ lrelease djview.pro

- You should have now a file named 'djview_de.qm'.
  To test your translations, type
        $ LANGUAGE=de ./djview

- Once you are satisfied, 
  send me your translation file 'djview_de.ts' 
  by email (leonb@users.sourceforge.net)


Thanks.






CONTRIBUTORS
------------

Translations for djview were contributed by:

djview_fr.ts            Leon Bottou <leonb@users.sourceforge.net>
djview_uk.ts            Yuri Chornoivan <yurchor@ukr.net>
djview_de.ts            Marc Feld <mfeld@users.sourceforge.net>
djview_cs.ts            Petr Pisar <petr.pisar@atlas.cz>
djview_ru.ts            Alexander Potashev <aspotashev@gmail.com>
djview_zh_cn.ts         Lee Chenhwa <leechenhwa@aim.com>