1

My python program uses selt.tr("String bla bla") to mark strings to be translated. I translate it using pylupdate4 Translate.pro and then edit the created *.ts-fils with Qt-Lingust, then afterwards using lrealese Translate.pro to create the *.qm binaries that my PyQt4-program is loading.

Now I would like to know how I can make this on Launchpad. Here I only read about mo,poand pot-files, but what about my ts- and qm-files?

How can I translate my program on Launchpad? I am not sure if QTranslator can read other binaries than qm-files.

László Papp
  • 51,870
  • 39
  • 111
  • 135
user2366975
  • 4,350
  • 9
  • 47
  • 87
  • cannot you just use Qt tools instead of launchpad? – László Papp Sep 26 '13 at 20:03
  • @LaszloPapp well, afaik launchpad allows online translation by multiple people. Maybe he hosts the project on Launchpad too. – Ramchandra Apte Oct 02 '13 at 12:56
  • @RamchandraApte: that does not answer my question. ;-) – László Papp Oct 02 '13 at 13:07
  • I implemented a tool to enable the users to translate it on their own. this is kind of new and can bring advantages, but still people need to know english to get to the menu, and if 100 people would translate it for the same language, it would be a waste of time, and also i would have to select the best translation – user2366975 Oct 20 '13 at 20:26

1 Answers1

0

Launchpad uses GNU gettext's file formats to import and and export translations:

  • pot: a template that includes the English text that you want people to translate. What's this?
  • po: translations for one language in a human-readable and editable form.
  • mo: a compiled binary form of a .po file.

You can find out more about these file formats and using GNU gettext in the Gettext manual.

you can use www.transifex.com site ,this site use TS files

kovarov
  • 465
  • 5
  • 11