Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-11495

generated .ts files' name are not matching with the requirement

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • Some future release
    • QDS 4.3
    • MCU support
    • 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"
              }
          } 

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes