Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.4.0 RC1
-
-
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.