New custom dialog translation issues - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

wheinsohn
Posts: 1
Joined: Mon Apr 20, 2009 8:59 am

New custom dialog translation issues

Hello,

I added a new custom dialog, which should have translated elements. But I encountered a few issues:
  • How can the new dialog be renamed (still called "NewDialog")?
  • How can the position when the dialog is executed be altered (right it's stuck between "WelcomeDialog" and "SetupTypeDialog")?
  • Why do the staticTexts and EditFields of the new dialog don't get translated? E.g. the "New Dialog Description..." has the localization setting "always translate / specific id"; id="Control.Text.NewDialog#Description". Then I added to my german.ail the following entry:

Code: Select all

  <ENTRY id="Control.Text.NewDialog#Description">
    <STRING lang="en" value="EN Description"/>
    <STRING lang="de" value="DE Beschreibung"/>
  </ENTRY>

EDIT:
As it turns out, the german MSI install does get translated, but the english one does not. The german.ail has the header "<DICTIONARY type="multilanguage" >" and I removed the 'ignore="en"' entry, but it does ignore the english part none the less... How can I include the english translation in the same file and have them be taken?


Thanks for the help!
Werner
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: New custom dialog translation issues

Hi Werner,
How can the new dialog be renamed (still called "NewDialog")?
The name of a dialog can be set in the "Dialog Name" field from the Properties pane in the "Dialogs" page.
How can the position when the dialog is executed be altered (right it's stuck between "WelcomeDialog" and "SetupTypeDialog")?
This can be done through NewDialog control events. Please note that the User Guide contains some how-to's which may help you:
Add a dialog after "SetupTypeDlg"
Conditionally show "StartMenuShortcutsDlg"
The german.ail has the header "<DICTIONARY type="multilanguage" >" and I removed the 'ignore="en"' entry, but it does ignore the english part none the less... How can I include the english translation in the same file and have them be taken?
I'm afraid that this is not supported by Advanced Installer. The strings of the start languages are placed in the dictionary only to help you in your translation. Even if they are modified, they will be ignored. This happens because the actual strings are the ones which can be modified in the Advanced Installer GUI and they will be stored inside the MSI.

For your project, you can use the English (base) strings directly on the installation dialogs.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”