Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Installer Framework 4.2
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.