Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106898

Export of id-based ts files creates non-id-based qm files

    XMLWordPrintable

Details

    • All
    • 54f97c0aaf (qt/qttools/dev) 54f97c0aaf (qt/tqtc-qttools/dev)

    Description

      In Qt Linguist you have the option to release a qm file from a ts file (File-Menu->Release).

      This can be usefull in cases where non-developers are doing the translations and want to intermediate test their work without the support of a developer or extra tools.

      In our case we have an id-based translation. Here we found that qm files released through qt linguist can not be loaded within our application, while using lrelease -idbased on the terminal works as expected.

      After checking the source-code of qt linguist it's obvious that this code path is not implemented at all, see:

      https://code.qt.io/cgit/qt/qttools.git/tree/src/linguist/linguist/messagemodel.cpp#n335

      Within this code we would have expected that m_idbased of ConversionData is set to true in case that the ts file is id-based. 

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mikolaj.boc Mikołaj Boc (Inactive)
            jbosb Jeremias Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes