openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #33637
[Bug 1676163] Re: Missing Qt 5 translations (OLP 2.3 >)
** Changed in: openlp
Milestone: None => 2.9.1
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1676163
Title:
Missing Qt 5 translations (OLP 2.3 >)
Status in OpenLP:
Fix Committed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1676163/+subscriptions
References