BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Multi-Language with Language specific graphics

Have need to generate language specific install.

Have installer prompting for language and the install shows text in that language. Also passing [ProductLanguage] as parameter to Custom action program where I set things in user data base. This works great.

What I would like to do in the actual install process, in the User Interface Dialogs (specifically WelcomeDlg and LicenseAgreementDlg) is after the languages are prompted and one selected:
1) Show a different graphic in the Welcome Screen based on the language selected.
2) Show a different licence agreement in the LicenseAgreementDlg base on the language selected.

Cannot see anything in the Forum on how I might do this.


Thanks,

Brian
MichaelD
Posts: 43
Joined: Tue Jan 12, 2016 10:32 am

Re: Multi-Language with Language specific graphics

My suggestion:
Use the indirect feature to use a property as image path and set this property depending on language conditions.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Multi-Language with Language specific graphics

Hi Brian,
1) Show a different graphic in the Welcome Screen based on the language selected.
Note that you can display a diferent DialogBitmap and BannerBitmap based on the selected language for installation. For details, please check the Localized DialogBitmap, BannerBitmap article.
2) Show a different licence agreement in the LicenseAgreementDlg base on the language selected.
To localize the EULA, please follow the steps from the How to localize the EULA and ReadMe text? article.

@MichaelD: Thank you for your help.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Re: Multi-Language with Language specific graphics

Dan,

The graphics suggestion works well but I cannot get the EULA based on language selected.

Followed instructions as per "How to localise the EULA and ReadMe text" but getting no EULA displayed when a none English language is selected during the install.

I notice that when I create a custom dictionary I get no "AgreementText" Entry (as well as not all entries have all the languages I have selected). I manually add Entry for AgreementText in my custom dictionary but this also not help.

I am selecting English, French and Spanish.

Any suggestions?

Thanks,

Brian
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Re: Multi-Language with Language specific graphics

Dan,

Any chance of an update on what I might be doing wrong?

Thanks,

Brian
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Multi-Language with Language specific graphics

Hi Brian,

Can you please make sure that you followed all the steps from the How to localize the EULA and ReadMe text? article.

If you still have problems implementing your scenario, please attach your .AIP(project file) to the thread so I can investigate this. If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Re: Multi-Language with Language specific graphics

Dan,

Still issues (response delay due to more important activities!!!).

Followed the "How to localize the EULA and ReadMe text?" article - tried this a few more times and still no EULA files being displayed for Spanish and French.

When creating a custom dictionary I got no dictionary entry for AgreementText - I had to create this myself manually.


Not sure if version I am using Enterprise 12.2.1 build 64247 is issue - since building on XP I cannot install later Advanced versions. I do have latest 12.8 on another PC but do need to build for XP PC's.


Thanks,

Brian
Attachments
MultiLanguageInstall.zip
Contains install project etc with EULA files and dictionary.
(24.17 KiB) Downloaded 583 times
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Re: Multi-Language with Language specific graphics

Hi Dan,

Any update?

Tried using the latest version of Advanced Installer and still same issue.

Going to have to not use EULA in local language since need to get out ASAP.

Thanks,

Brian
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Multi-Language with Language specific graphics

Hello Brian,

I apologize for my delay reply, we were quite busy these days.

I've tested your scenario and it worked as expected.

The sample project is attached to this thread, so if you are interested to take a look directly at my project, you are more than welcome to download the ZIP file.

Best regards,
Dan
Attachments
SampleApp.rar
(495.83 KiB) Downloaded 577 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Re: Multi-Language with Language specific graphics

Dan,

Still not getting what I expected.

I am trying to build a single install for all languages where the prompt for language comes up first. I can get this.

Based on language selected want to show different graphics - which I can also get - and show different EULA - which I cannot get.

I see that your example is different in terms of:
- User Interface / Translations / Options = Create separate packages and a multilingual package where I select Create only a multilingual package.
- User Interface / Translations / User Interface Language = Automatically use system language for installation where I select Display Language selection dialog.....
- Package Definition / Builds / Package Type = Single MSI (resources inside). I am trying to build a single 32 / 64 install so am forced by Advanced Installer to select Single EXE setup (resources inside)???

I have copied your dictionary and used that as a basis (done within User Interface / Translations / Dictionaries) to define EULA etc.

Would any of these cause the issue?

Where does the installation get the EULA from based on language? I thought from the Translation Dictionaries from User Interface / Transactions / Dictionaries?
What happens if you have multiple user defined dictionaries? I have .....dictionary.ail and NMDict.ail. Not sure where dictionary.ail came from I think came automatically when I updated Project strings.


Thanks,

Brian
BCh
Posts: 63
Joined: Wed Jan 17, 2007 6:32 am
Location: Australia

Re: Multi-Language with Language specific graphics

Dan,

Believe found issue.

In User Interface / Dialogs / LicenseAgreementDlg when selecting the RTF file under Properties / Display needed to only put the words AgreementText in Localization box at bottom of screen.

By default Advanced installer placed a few other words AND ALSO the words AgreementText which since the program did that I thought that was what was supposed to be placed in that field.



Thanks for you time and support.

Hopefully this solves all the issues I have.


Brian

Return to “Building Installers”