Translations not loaded if QtCreator built with Qt5

Bug #1161741 reported by Sergey Shambir
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
qtcreator (Ubuntu)
Confirmed
Undecided
Unassigned
qttranslations-opensource-src (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

QtCreator applies localization only if both /usr/share/qt4/translations/qt_*.qm and /usr/share/qtcreator/translations/qtcreator_*.qm exist. At 29.03.2013 no package provides Qt5 translations and QtCreator cannot load own translations.

libqtcore4 - contains translations for Qt4, loaded normally if QtCreator built with Qt4
libqt5core5 - does not contain translations for Qt5

Issue have two solutions:
1) add translations for Qt5 to libqt5core5 or another package
2) apply patch to QtCreator and load itself translation at least

Patch is under review: https://codereview.qt-project.org/#change,52614

Ubuntu version: 13.04
Package installed: qtcreator: 2.7.0-0ubuntu1, libqt5core5: 5.0.1+dfsg-0ubuntu3b1

Revision history for this message
Sergey Shambir (sergey-shambir-auto) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtcreator (Ubuntu):
status: New → Confirmed
Revision history for this message
Sergey Shambir (sergey-shambir-auto) wrote :

Actually it's bug in Qt package. As Digia developers said about the patch, "anyway, the current behavior is there for a reason, and i have no intention of accepting a change."

So localizations should be added to qtcore5.

Revision history for this message
Strelok (who-) wrote :

Workaround:
sudo ln -s /usr/share/qt4/translations/ /usr/share/qt5/translations

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

qttranslations5-l10n is now in saucy, which contains also qtbase_* translations.

Changed in qttranslations-opensource-src (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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