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!

bhodso
Posts: 19
Joined: Sun Apr 20, 2008 1:11 am

Localize Text on Custom Dialog

I've created a custom dialog that has multiple text boxes on it. I need to support both Spanish and English. I read the tutorial here:

http://www.advancedinstaller.com/user-g ... uages.html

I checked the box for Spanish on the Translations->Languages tab.

Then I added a new dictionary with the Create button. I'm not sure how to reference my textboxes by Property name in the syntax. For instance, one of my textboxes is named: APPKALLOUTDLGTEXT_5_PROP

I couldn't find an example so I tried this:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="multilanguage">
	<ENTRY id="APPKALLOUTDLGTEXT_5_PROP">
		<STRING lang="en" value="english hello" />
		<STRING lang="es" value="spanish hola" />
	</ENTRY>
</DICTIONARY>
This does not work of course. Is there a tutorial to show how to do this or can you point me to the right steps to get this working. Depending on the language selected on the first screen of the installer, I need my custom dialogs to show themselves in the correct language from my translations.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Localize Text on Custom Dialog

Hi,

Please note that the User Guide contains the Localize EULA and Readme text how-to which may help you. For the controls on your custom dialog you can use a similar approach.

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

Return to “Common Problems”