Missing Qt 5 translations (OLP 2.3 >)

Bug #1676163 reported by Azaziah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Committed
Medium
Raoul Snyman

Bug Description

All of the Qt button translations are missing on
all(?) languages and 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 and tgc's thoughts you can visit this merge request:
https://code.launchpad.net/~suutari-olli/openlp/fix-missing-qt_5_5_translations/+merge/285680

Related branches

Azaziah (suutari-olli)
description: updated
Azaziah (suutari-olli)
description: updated
Revision history for this message
Raoul Snyman (raoul-snyman) wrote :

This is fixed, isn't it? Can we close the bug?

Changed in openlp:
importance: Undecided → Medium
assignee: nobody → Raoul Snyman (raoul-snyman)
status: New → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.9.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.