Bug 13993 - Qt4Linguist and Qt5Linguist are not translated on my French system
Summary: Qt4Linguist and Qt5Linguist are not translated on my French system
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14746
  Show dependency treegraph
 
Reported: 2014-08-26 15:57 CEST by David GEIGER
Modified: 2014-12-23 01:55 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description David GEIGER 2014-08-26 15:57:18 CEST
I use quite frequently Qt-Linguist and Qt5-Linguist tools but they are not translated into French on my system. It remains in the default language (English).

I think other Qt tools are also affected. And this is for mga4 and Cauldron.


How reproducible:
By installing and using the Qt tools.

Steps to Reproduce on mga4:
1.Install 'qt4-linguist' package
2.Open qt4-linguist and see if it is translated on your local language

Steps to Reproduce on Cauldron:
1.Install 'qttools5' package
2.Open qt5-linguist and see if it is translated on your local language

Reproducible: 

Steps to Reproduce:
David GEIGER 2014-08-26 15:58:13 CEST

Assignee: bugsquad => neoclust

David GEIGER 2014-08-26 15:58:44 CEST

Assignee: neoclust => mageia

Comment 1 Rémi Verschelde 2014-09-17 14:14:29 CEST
@David: This is more of an upstream issue no?

Did you find out how Qt translations are handled? Maybe some of us could join their translation team and help to translation Qt4-Linguist and Qt5 in French (I've noticed that lots of things are untranslated in Qt5 generally speaking).

CC: (none) => remi

Comment 2 David GEIGER 2014-09-17 17:14:08 CEST
Yes this is an upstream issue.

Yes exactly a lot of Qt4/5 tools are untranslated or partially translated for french languages and maybe for others too.(This is really heartbreaking.)


By cons, for such translations of qttools5 we must install qttranslations package, it should be required by qttools5 but this is not the case for now (you have to install it manually).
Comment 3 Rémi Verschelde 2014-12-07 17:06:53 CET
I'm not so sure anymore that this is totally an upstream issue (apart from the fact that the French translation for qt4-linguist is practically empty).

There are translation files for many languages in qt4-linguist, but none are displayed when choosing them with "LANGUAGE=xx linguist".

$ ll /usr/share/qt4/translations/linguist_*
-rw-r--r-- 1 root root 84653 nov.  30 22:24 /usr/share/qt4/translations/linguist_cs.qm
-rw-r--r-- 1 root root 49553 nov.  30 22:24 /usr/share/qt4/translations/linguist_de.qm
-rw-r--r-- 1 root root 84858 nov.  30 22:24 /usr/share/qt4/translations/linguist_eu.qm
-rw-r--r-- 1 root root   261 nov.  30 22:24 /usr/share/qt4/translations/linguist_fr.qm
-rw-r--r-- 1 root root 44110 nov.  30 22:24 /usr/share/qt4/translations/linguist_hu.qm
-rw-r--r-- 1 root root 65877 nov.  30 22:24 /usr/share/qt4/translations/linguist_ja.qm
-rw-r--r-- 1 root root 64820 nov.  30 22:24 /usr/share/qt4/translations/linguist_ko.qm
-rw-r--r-- 1 root root 66401 nov.  30 22:24 /usr/share/qt4/translations/linguist_pl.qm
-rw-r--r-- 1 root root 84596 nov.  30 22:24 /usr/share/qt4/translations/linguist_ru.qm
-rw-r--r-- 1 root root 46495 nov.  30 22:24 /usr/share/qt4/translations/linguist_sl.qm
-rw-r--r-- 1 root root 84805 nov.  30 22:24 /usr/share/qt4/translations/linguist_uk.qm
-rw-r--r-- 1 root root 31590 nov.  30 22:24 /usr/share/qt4/translations/linguist_zh_CN.qm
-rw-r--r-- 1 root root 31761 nov.  30 22:24 /usr/share/qt4/translations/linguist_zh_TW.qm
Comment 4 Rémi Verschelde 2014-12-07 22:06:32 CET
Ok, I could confirm that the translations _work_ in qt4-linguist with another locale than French, e.g. German. So the issue here is only that Linguist was not translated into French, so WONTFIX on Mageia's side.

As for Qt5 apps, Nicolas will add the missing requirements on qttranslations5.
Comment 5 Rémi Verschelde 2014-12-08 00:54:13 CET
@ Luc, Nicolas: Regarding the missing requirements for qttranslations5:

I wonder where would be the most pertinent place(s) to add it. Here is the list of translations files (I took Ukrainian as an example because it's one of the only complete translations):

/usr/share/qt5/translations/assistant_uk.qm      => qttools5-assistant
/usr/share/qt5/translations/designer_uk.qm       => qttools5-designer
/usr/share/qt5/translations/linguist_uk.qm       => qttools5
/usr/share/qt5/translations/qmlviewer_uk.qm      => qtquick5-qmlviewer
/usr/share/qt5/translations/qt_help_uk.qm        => libqthelp5
/usr/share/qt5/translations/qt_uk.qm             => ? libqtcore5
/usr/share/qt5/translations/qtbase_uk.qm         => qtbase5common
/usr/share/qt5/translations/qtconfig_uk.qm       => ?
/usr/share/qt5/translations/qtconnectivity_uk.qm => qtconnectivity5 (only in SRPM repo?)
/usr/share/qt5/translations/qtdeclarative_uk.qm  => qtdeclarative5
/usr/share/qt5/translations/qtlocation_uk.qm     => qtlocation5 (only in SRPM repo?)
/usr/share/qt5/translations/qtmultimedia_uk.qm   => qtmultimedia5
/usr/share/qt5/translations/qtquick1_uk.qm       => libqt5quick5
/usr/share/qt5/translations/qtscript_uk.qm       => libqtscript5
/usr/share/qt5/translations/qtxmlpatterns_uk.qm  => libqtxmlpatterns5

So it seems those translations files are not only needed for Qt Apps but also for libraries such as qtbase, qtmultimedia, etc.

WDYT? Should it be bluntly added as a Requires in qtbase, or split in all subpackages?

CC: (none) => lmenut

Florian Hubold 2014-12-08 23:31:31 CET

Blocks: (none) => 14746

Comment 6 Nicolas Lécureuil 2014-12-23 01:55:00 CET
fixed in svn

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.