Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
QDS 4.5.1
-
None
-
QDS Berlin - 2024 Week 35/36, QDS Berlin - 2024 Week 37/38, QDS Berlin - 2024 Week 39/40, QDS Berlin - 2024 Week 41/42, QDS Berlin - 2024 Week 43/44, QDS Berlin - 2024 Week 45/46, QDS Berlin - 2024 Week 47/48
Description
This workflow is not working with QDS.
- Write qsTr() or qsTrId() in .qml files
- Run lupdate on .qml files to generate .ts files with "qml_" prefix.
- Run linguist to fill up the translated texts in .ts files
- Put .ts in the i18n directory at the directory containing the main qml file
- Run lrelease to generate .qm files from .ts files
- Add these in .qmlproject
multilanguageSupport: true
supportedLanguages: ["en_US", "ja_JP"]
primaryLanguage: "ja_JP" - Add Component.onCompleted: Qt.uiLanguage = "ja_JP"
- Run the app and expect to see the Japanese-translated texts on the screen.
Currently this isn't working with QDS 4.5.1. I attached the project.