Comment 0 for bug 1676163

Revision history for this message
Azaziah (suutari-olli) wrote :

All of the Qt button translations are missing on
all(?) languages on all platforms.

This became an issue once we updated to qt 5. (2.3>)
The qt_lang.qm files can be found withing the i18n
folder but they are invalid.

The languages that are available in OpenLP have files that are
1 KB in size, other language files seem to be for Qt4 since
they appear to be identical in size. Qt_pl.qm for example is
309 KB in size in OLP 2.2.1 (Qt 4) and within the 2.4.5 i18n folder.

Here’s an image listing the qt_lang.qm files within the 2.4.5 i18n folder.
http://imgur.com/a/9AGgr

Alternative solution to fixing the build script could be bundling
the .ts or .qm files downloaded from Qt’s website to our builds.

Second alternative could be to ditch all of the Qt translation
files and just use custom translatable buttons instead,
which could lead in better translations in some cases.

Both of the alternatives would also allow us to translate
languages which Qt is not yet translated to. Additionally
we could squeeze off some megabytes from the install size
by removing thousands of unused strings times the amount
of languages.

The translation files for Qt 5 may be downloaded from here:
http://l10n-files.qt.io/l10n-files/ (qtbase)

I’ve downloaded all of the languages that are translated
and converted them to .qm. If the .qm files are placed to
the i18n folder of OpenLP the translations work again.

They may be downloaded from here:
https://drive.google.com/file/d/0B9y8rZiYItltSFBCZEFzQThpTDg/view?usp=sharing

For TRB143’s thoughts you can visit this merge request:
https://code.launchpad.net/~suutari-olli/openlp/fix-missing-qt_5_5_translations/+merge/285680