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

Imported translations not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • QDS 2.3 Beta
    • Translation Manager
    • None
    • Windows
    • QDS Berlin- 2022 Week 05/06

    Description

      I have imported translations from a JSON files, the translations show correctly in the Translations View.

      Translations do not show up in the UI.

      When I run QML translation test it stops with this error message:

      During the test, I can see the English translations in the correct place in the UI so it can read those correctly at least.

      This is the generated JSON report:

      {
          "components": [
              {
                  "componentPath": "",
                  "errors": [
                  ]
              }
          ]
      }
      
      

      When I try to generate .qm and .ts files, I get:

      :-1: error: Dropped 1 message(s) which had no ID.
      :-1: error: Dropped 1 message(s) which had no ID.
      

      Attached you find the QDS project and the JSON file I have imported translations from.

      Attachments

        1. image-2021-12-16-08-45-24-140.png
          7 kB
          Mats Honkamaa
        2. loginui2 start.zip
          15 kB
          Mats Honkamaa
        3. ml_translations.json
          2 kB
          Mats Honkamaa
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tupelkon Tuomo Pelkonen
            mahonkam Mats Honkamaa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes