unable to localize EULA - 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!

asobo
Posts: 4
Joined: Wed Mar 03, 2010 11:49 pm

unable to localize EULA

Hi,

Can someone please help?

I am currently using 7.5.2 Professional trial. I want to localize EULA and I have followed the instructions very carefully at: http://www.advancedinstaller.com/user-g ... ement.html

but the xml snippet for <ENTRY id="AgreementText"> does not get generated in my dictionary. All the dictionary contains is this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DICTIONARY type="multilanguage" ignore="en">
<ENTRY id="Property.ARPCOMMENTS">
<STRING lang="en" value="This installer database contains the logic and data
required to install [|ProductName]."/>
<STRING lang="zh" value=""/>
<STRING lang="ja" value=""/>
</ENTRY>
<ENTRY id="Property.Manufacturer">
<STRING lang="en" value="Test Company"/>
<STRING lang="zh" value=""/>
<STRING lang="ja" value=""/>
</ENTRY>
<ENTRY id="Property.ProductName">
<STRING lang="en" value="TestEULA"/>
<STRING lang="zh" value=""/>
<STRING lang="ja" value=""/>
</ENTRY>
</DICTIONARY>

I have seen similar postings so I made sure that I have selected "Always translate this string / Using specified localization identifier" in the Localization dialog but still no luck.

The only thing I did not do in the instructions is the following:

-- select the scrollable edit control on this dialog and click into the File Path field in the Properties section

It is because there is no scrollable edit control on this dialog and I don't see a way to bring up the Properties section. All I see on this page are the preview of the dialog and the file path to English EULA. Nothing else can be done for this dialog.

I am stuck... your help is greatly appreciated!

Regards,
--Nancy
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: unable to localize EULA

Hi Nancy and welcome to Advanced Installer Forums,

Make sure you have more than one build language selected from the Translations page.
Now go back to the Dialogs page and select the LicenseAgreementDlg.
Right below the preview, there is an Edit Box labeled "File Name".
Right click inside it and select Localize when appropriate in the tutorial, as mentioned in the Note at the beginning of the tutorial.

I hope this helped.
Do let me know if I can be of any further assistance.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
asobo
Posts: 4
Joined: Wed Mar 03, 2010 11:49 pm

Re: unable to localize EULA

Hi Gabriel,

Thank you for your quick response.

> Right below the preview, there is an Edit Box labeled "File Name".
> Right click inside it and select Localize when appropriate in the tutorial, as mentioned in the Note at the beginning of the tutorial.

Are you referring to the textbox where you can specify the file name for English EULA? If yes, then I have already done it as described in my original posting. When I right-click in the textbox, I select "Localization" and the Localization dialog pops up. I made sure to select "Always translate this string / Using specified localization identifier" with "Control.Text.LicenseAgreementDlg#AgreementText" being the localization identifier.

I also have Japanese and Simplified Chinese selected as well as English in the Translations -> Languages tab.

I also made sure that I selected "User Interface" under Translations -> Translations -> Specify project segments for translations .

Still the dictionary does not include <ENTRY id="AgreementText"> tag.

Please let me know what else I should check.

Thanks!
--Nancy
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: unable to localize EULA

Hi Nancy,

Did you make sure you changed the "Control.Text.LicenseAgreementDlg#AgreementText" value from the "Always translate this string / Using specified localization identifier" field with some other value, as mentioned in our guide?

We will improve this behavior in a future version of Advanced Installer so our users won't have to concern about this step anymore.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
asobo
Posts: 4
Joined: Wed Mar 03, 2010 11:49 pm

Re: unable to localize EULA

Hi Gabriel,

Thank you very much for the tip! When I changed it from "Control.Text.LicenseAgreementDlg#AgreementText" to "AgreementText", it worked. Thanks again.

I have another question.

I am creating EULA in Japanese now. The instruction says that the file format is UTF-8, so I encoded the file like this, using the escape character.

\u308D\u3046

However, when it is run, the characters are garbaged. What should I do?

Also - is rtf the only supported format for EULA dialog?

Thanks for your help.

--Nancy
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: unable to localize EULA

Hi Nancy,

Please note that the dictionary should not contain the text, it should contain the path to the .rtf, as shown in our guide. The guide refers to the dictionary file as utf-8, not to the rtf. You should edit the rtf using an editor like WordPad and specify your encoding there.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
asobo
Posts: 4
Joined: Wed Mar 03, 2010 11:49 pm

Re: unable to localize EULA

Hi Gabriel,

Thank you very much for your help!

I was able to get it to work with your instructions below.

Thanks again!
--Nancy

Return to “Common Problems”