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

        1. ScrollTextDemo (2).zip
          1.24 MB
          Mikio Hirai
        2. ScrollTextDemo_updated.zip
          1.24 MB
          Mikio Hirai
        3. image-2024-01-10-16-49-12-011.png
          8 kB
          Mikio Hirai
        4. image-2024-01-10-16-48-37-875.png
          7 kB
          Mikio Hirai
        5. image-2024-01-10-16-47-29-979.png
          6 kB
          Mikio Hirai
        6. image-2023-12-06-22-31-06-105.png
          67 kB
          Mikio Hirai
        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