Bug 328641

Summary: GUI of kst-plot in extragear/graphics git is completely untranslated
Product: [Applications] kst Reporter: Burkhard Lück <lueck>
Component: i18nAssignee: kst
Status: RESOLVED FIXED    
Severity: normal CC: christiandehne, yurchor
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: A scripts to extract Qt messages

Description Burkhard Lück 2013-12-10 20:10:45 UTC
extragear/graphics/kst-plot in the kde git repo has a completely untranslated GUI.

Reason is a missing Messages.sh to extract the translations to a catalog.
The code has a lot (382) of i18n() calls and a lot of tr() calls as well.
It is no problem to have a Qt-only and a KDE-version of the app (see e.g. Marble), but the translations need to be extracted to two different catalogs (foo.pot and foo_qt.pot).

If you need any help please drop me or kde-i18n-doc@kde.org a note.

Thanks
Comment 1 Yuri Chornoivan 2013-12-10 20:19:19 UTC
Created attachment 84026 [details]
A scripts to extract Qt messages

Stolen from extragear-pim/trojita. The translation system can be adopted from there as well.
Comment 2 Burkhard Lück 2014-01-16 22:42:06 UTC
Message extraction somehow works now, but a lot of missing or superfluous messages are in the translation catalogs now.

What is missing is a script like l10n-fetch-po-files.py from the trojita repository.

I have added such a script locally here, but CMake fails to generate/install *ts/*qm translation catalogs, so kst2 is still completely untranslated in the GUI.
Comment 3 Burkhard Lück 2014-04-03 12:18:42 UTC
Works now, thanks