reportbug-ng has localization support again
After having ported reportbug-ng from PyQt3 to PyQt4 over a year ago, reportbug-ng lost it’s localization, since the gettext based translations where incompatible with Qt4’s translation system.
This weekend I finally had the time to have a closer look at this problem. To make a long story short: I have ported the gettext based system to Qt4’s system. All the old .po files where converted to .ts files, but almost all strings are marked as “obsolete” so that they don’t appear in the translated program. But since they are still available in the .ts file, it is easy to get the translations up-to-date. So far only English and German are complete, but eventually other translations will be added.
PyQt4 makes it by the way really hard to get non-Qt strings translated.
Tags: debian, python, reportbug-ng
October 26th, 2009 at 12:28 am
YEEEEEEEEEEEEEEEAH!
I’m putting myself to work again!
Thank you, also on behalf of my pony!
P.S.: “its localization” is spelled without the apostrophe
LK (Italian translator, now back in charge)
October 28th, 2009 at 10:37 pm
Well, Qt translation system is quite good but sometimes you don’t want to use it (i.e. some part of the script doesn’t depend on pyqt).
I did a simple script that substitutes the Qt translation function with gettext equivalent, but in my case using Qt system wasn’t an option.