Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
QDS 4.3
-
None
Description
QDS can generate .ts files with this buttton.
With qtForMCUs: true in .qmlproject, the generated .ts files looked like this:
qml_en.ts
qml_ja.ts
However, I think at least for Qt for MCUs project, the file names should be as follows:
qml_en.en_US.ts
qml_ja.ja_JP.ts
with these names, I could switch the language in Qt for MCUs projects like this:
MouseArea { anchors.fill: parent onClicked: { Qt.uiLanguage = Qt.uiLanguage === "en_US" ? "ja_JP" : "en_US" } }