Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. windeployqt doesn't copy all qt_xx translations

windeployqt doesn't copy all qt_xx translations

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 2.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HappyCoder
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        HappyCoder
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Indeed that would explain.

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved