[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#759685: qtcreator-data: qtcreator ui gets no translations applied



Package: qtcreator-data
Version: 3.2.0+dfsg-1
Severity: minor
Tags: l10n

Dear Maintainer,

I updated lately qtcreator to latest version in Jessie.

Since then, I assume, the ui translations get not shown on my system.
Instead the user interface stays with builtin texts.

qtcreator 3.0.1+dfsg-1 was built against qt4.
Starting with 3.0.1+dfsg-1 it is built against qt5.

Digging into it I could observe it first
loads /usr/share/qtcreator/translations/qtcreator_de.qm.
This file comes with package qtcreator-data.

Then it tries to load some general qt5 translations
/usr/share/qt5/translations/qt_de.qm.
These would come with package qttranslations5-l10n.

Unfortunately package qttranslations5-l10n got not installed automatically and
I see no hard dependency.
Probably I am missing some indirect recommended package.

After manually installing qttranslations5-l10n it ui got translated again.

So I just ask if package qtcreator (or qtcreator-data which contains the *.qm)
should have a dependency or recommend to qttranslations5-l10n?


../qtcreator-3.2.0+dfsg/src/app/main.cpp:
....
        if (translator.load(QLatin1String("qtcreator_") + locale,
creatorTrPath)) {
....
            const QString &qtTrFile = QLatin1String("qt_") + locale;
            if (qtTranslator.load(qtTrFile, qtTrPath) ||
qtTranslator.load(qtTrFile, creatorTrPath)) {
....

Kind regards,
Bernhard



-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (990, 'testing-updates'), (990, 'testing'), (500, 'testing-proposed-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qtcreator-data depends on:
ii  perl  5.20.0-4

qtcreator-data recommends no packages.

qtcreator-data suggests no packages.

-- no debconf information


Reply to: