Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-2217

Adding translations into config.xml breaks installer's translation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.1.0, 4.0.0
    • Translations
    • Windows
    • Qt Installer Sprint 32, Qt Installer Sprint 33, Qt Installer Sprint 34

    Description

      I'm trying to add custom translations(Russian) for the installer's default pages(inside the controlscript.qs).

      When I add translation into config.xml and then run the generated installer it is not translated at all. I mean it's completely in English, default Russian translation is not loaded too.

      I tried many ways to add the translations, according to the information from documentation and in the internet(none of them helped). Here are three of them:

      1)  Tried to add translations directly to the config folder

      project

          |-config

              |- config.xml

              |- controlscript.qs

              |- du_ru_RU.ts

              |- du_ru_RU.qm

          |- packages

              | -...

      2) Tried to add resource file and use it in binarycreator(via -r)

      project

          |-config

              |- config.xml

              |- controlscript.qs

          |- resources

              |- additional.qrc(added link to du_ru_RU.qm with `/` and `/translations` as prefix)

              |- du_ru_RU.ts

              |- du_ru_RU.qm

          |- packages

              | - ...

       

      3) Tried to combine 2 and 3

       

      I'm adding the translation into config.xml as a language code(as I found in documentation). I also tried adding it as filename/filepath and it doesn't work too.

      Attached some logs. As I can see my translation file is not loaded at all. But there are no errors.

      Attachments

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

        Activity

          People

            kamartti Katja Marttila
            kartaris Rustem Husnutdinov
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes