[Marble-devel] Problems with translation loading

Yuri Chornoivan yurchor at ukr.net
Thu Jun 2 05:25:27 UTC 2016


Hi,

Testing of Marble form Applications 16.04 shows several problems with  
translation not shown in widgets and main window.

Findings by Alexander Potashev:

1. Strings like "Global Search" in  
scr/lib/marble/SearchInputWidget.cpp:76,99 load through tr(), are  
extracted into marble_qt.pot but never shown translated.

2. Options dialog strings, like those from MarbleViewSettingsWidget.ui,  
are extracted to marble.po, but loaded through qt_wrap_ui (instead of  
ki18n_wrap_ui) in src/lib/marble/CMakeLists.txt, so strings like "Units",  
"Distance:", "Angle:" are shown untranslated.

3. KDE packaging scripts convert marble_qt.po into marble_qt.qm, not  
marble_qt.mo, so the translations are never shown without some manual  
intrusion (might be Kubuntu packaging problem). For some reason, packagers  
include MOs for marble_xml_mimetypes.po and marble.appdata.po (should it  
be org.marble.appdata.po?).

Can somebody look at these problems and fix them if possible?

Many thanks in advance for your work.

Best regards,
Yuri


More information about the Marble-devel mailing list