Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
6e7a77330 (dev)
Description
We can embed the application's *.qm files as resource files (see QTBUG-89399):
# qmake CONFIG += embed_translations TRANSLATIONS += app_de.ts
# CMake qt6_add_translations(my_app TS_FILES my_app_de.ts my_app_no.ts RESOURCE_PREFIX "/translations")
However, Qt's own translations (e.g. qtbase_de.qm) still need to be deployed to disk (using windeployqt, for example).
It would be good to be able to embed Qt's own translations into the executable itself at build-time too.
Attachments
Issue Links
- relates to
-
QTBUG-112857 Automatically merge translation files at build time
- Open
-
QTBUG-89399 Allow to embed translated .qm file dynamically in resources
- Closed