Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

windeployqt doesn't copy all qt_xx translations



  • Hello,
    we have a multilingual application and the translation files for the app are
    added in our pro file at TRANSLATIONS and compiled into a resource file
    and loaded from there. This is working perfect.

    When i deploy our app using windeployqt the "translations" folder
    doesn't include all qt_xx.qm translations that are available.
    E.g. the Qt translation for spanish (qt_es.qm) is missing, it is necessary to copy it manually.

    Can anybody explain why windeployqt copy only some of the existing Qt translation files?

    Thx


  • Lifetime Qt Champion

    Hi,

    Can you check which qtbase_*.qm you have in your Qt installation ?



  • windeployqt is creating qt_*.qm files and they are equal to these:
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_ca.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_cs.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_de.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_en.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_fi.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_fr.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_he.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_hu.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_it.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_ja.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_ko.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_lv.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_pl.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_ru.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_sk.qm
    c:\Qt-5\5.6\mingw49_32\translations\qtbase_uk.qm

    But i guess i found it. Due to this page
    http://l10n-files.qt.io/l10n-files/
    there is no translation for spain.


  • Lifetime Qt Champion

    Indeed that would explain.

    It would be nice if someone knowing spanish would help translate Qt.


Log in to reply