Readme and licence in two languages - 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!

Luc Michel
Posts: 14
Joined: Tue Nov 22, 2005 5:06 pm

Readme and licence in two languages

Hi,

I recently purchase your product and I am finalizing an install for some hatch patterns for AutoCAD. I started in French and I want an install in English too. So I took that option in the Language Tab. When I test the English Version, it does not show any licence or readme text.

Is it possible to have those two texts in two languages ?

Thanks in advance !

Luc
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi,

Here is how you could add the license text in multiple languages:

- Go to the "Dialogs" page and add the "License Agreement" dialog.

- Go to the "Translations" page and select the "Languages" pane.

- Click the [ Select... ] button. In the "Localization Options" dialog check the "Enable per-element localization options" check box.

- Return to the "Dialogs" page. Click the button with the "flag" on it. In the "Localization" dialog copy the string from the text field.

- Go to the "Languages" pane. Click the [ Create... ] button. A wizard that will allow you to create a dictionary (AIL file) will be prompted. Click the [ Next... ] button twice. In the last dialog of the wizard use the [ ... ] button to specify the location and the name of your dictionary.

- Create a RTF file on your disk. The content of this file will be shown in the license agreement dialog.

- Go to the location where you saved the dictionary (AIL file) and open it in a text editor.

- Add a new entry to the document(<ENTRY> </ENTRY>) with the same structure as the above ones (you can use cut and paste if you want).

- Edit this entry as it follows:
<ENTRY id="the string you copied from the Localization dialog in the Languages pane">
<STRING lang="en" value="Your Application"/>
<STRING lang="de" value="path to the rtf file"/>
</ENTRY>

In the end you entry should look something like this:
<ENTRY id="Control.Text.LicenseAgreementDlg#AgreementText">
<STRING lang="en" value="Your Application"/>
<STRING lang="de" value="D:\license.rtf"/>
</ENTRY>

For more information on localization please check out our tutorial:

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

All the best,
Ciprian
Last edited by ciprian on Thu Oct 26, 2006 8:56 am, edited 1 time in total.
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com
Luc Michel
Posts: 14
Joined: Tue Nov 22, 2005 5:06 pm

Thank you very much

Return to “Common Problems”