суббота, 20 декабря 2014 г.

Lokalize for KF5, Windows and OS X

...and how to implement KUniqueApplication functionality on win+osx (scroll down for this).

I have finished porting Lokalize to KF5, you can build it using kdesrc-build script.

Also I'm working on a stripped down version of Lokalize for Windows and for OS X which doesn't need KDE. Follow the links to get .exe and .app prebuilt for you (Windows XP+, OS X 10.9+)

Remember this is the first public preview release, so don't expect more than simple editing of PO and XLIFF files. Features that are missing but are planned for integration into win+osx versions:
- File search and replace window with Quality Assurance feature
- Spellchecking
- Stemming for the glossary
- Calling odf2xliff and xliff2odf console tools from Lokalize
- Polishing

Please report bugs, crashes and features you would like to be implemented first down in the comments.

KUniqueApplication: please see a code inside Q_OS_WIN32 in main.cpp for the way how to open files in an app instance that is already running. For OS X you only need to install an event filter on qApp that reacts to QFileOpenEvent event.

среда, 25 июня 2014 г.

Lokalize for KDE5, QThreadPool

Hello everyone. I have started porting Lokalize to KDE5. Lokalize is computer-aided translation system that can be used to translate KDE and any other open source project into differenet human languages.

Currently it starts and even loads .po files, as well as adds them to translation memory.

During the porting i found out that ThreadWeaver has changed dramatically and decided to port to QThreadPool instead. The only feature missing in QThreadPool for me is dequeueing individual jobs (that have not been stated to execute yet). I have implemented this feature and created the jira issue with patch review request. So if any of Qt developers read this, I ask you to review this short patch so that it ends up in Qt 5.4.