Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 094de9a012afe145f3fb86d46e5a2816 > files > 12

djview4-4.4-1mdv2009.1.i586.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            Mark Feld <mfeld@berlios.de>
djview_cs.ts            Petr Pisar <petr.pisar@atlas.cz>
djview_ru.ts            Alexander Potashev <aspotashev@gmail.com>