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

Unable to translate text messages that are shown during uninstallation or on Introduction page

    XMLWordPrintable

Details

    • Windows

    Description

      I have some script that runs during the uninstallation process that in case of failure prompt the user for action. The prompted text should be translatable.

      But...

      Because of QTIFW-683 [Uninstaller related function are not triggered] this code MUST be put in the controller.qs script. 

      However, because of QTIFW-2217 [adding translations into config.xml breaks installer's translation] I cannot then translate the messages that I display as a result. (and the proposed solution for translating config.xml is not well documented, nor I think appropriate).

      I am therefore left with English text during the uninstallation process when the installer displays message text.

      Update: I have since discovered that I have a similar issue with the "Introduction" page. 

      If I want to change the MessageLabel on that page, while I can do so in the Controller.prototype.IntroductionPageCallback - that callback is by definition in the Control script – which cannot be translated because of QTIFW-2217. I did think of maybe providing a replacement widget for the Introduction page – but again that would not be loaded until the Components are loaded – after you click "Next" on the introduction page– i.e. too late to change the Introduction page layout.

      Attachments

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

        Activity

          People

            installerteam Installer Team
            toolbuilder Stephen Upton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes