Localization bug with some Themes - 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!

l.guarino
Posts: 15
Joined: Tue Aug 09, 2011 3:42 pm

Localization bug with some Themes

Hello,
I'm having some trouble with a multilanguage setup. I'm using "Spring" Theme, with 2 language (Ita, Eng). There are some description still in english and the first one have some words in italian an some other in english (as you can see from the image):

Image

This problem occurs also if I use only Italian language. It works with Classic Theme, but the problem is still there with Azure template.

Am I doing something wrong?
Let me know if you need more information or the aip file.

PS: I'm running Advanced Installer 8.3 and this is a Java project.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Localization bug with some Themes

Hello and welcome to Advanced Installer forums,

There is nothing wrong, you just need to localize that string in the dictionary.

Here is an article to help you with this.

The localization identifier for that string is:

Code: Select all

Control.Text.WelcomeDlg#DescriptionNoClose
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
l.guarino
Posts: 15
Joined: Tue Aug 09, 2011 3:42 pm

Re: Localization bug with some Themes

Hello,
I just add this in my .ail file:

Code: Select all

<ENTRY id="Control.Text.WelcomeDlg#DescriptionNoClose">
    <STRING lang="en" value="The setup procedure will install ClickScout on your computer. Click Next to continue or close the window to exit Setup."/>
    <STRING lang="it" value="Questo setup installerà ClickScout sul vostro computer. Cliccare Avanti per continuare o chiudere la finestra per uscire dal Setup."/>
  </ENTRY>
I get this error when I try to compile:
Exception - Parse error in file [F:\SorgentiGenerali\Java\Click_Scout\ZSetup\bin\Locale.ail] at line 33 column 51 (not well-formed (invalid token)).

Build finished because an error was encountered.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Localization bug with some Themes

Hello,

Please make sure you saved the dictionary with the UTF-8 encoding and also restarted the project after adding it and before building the project. If you have done this already, can you please send us the .AIP (project) and the .AIL (dictionary) to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
l.guarino
Posts: 15
Joined: Tue Aug 09, 2011 3:42 pm

Re: Localization bug with some Themes

Hi, thanks for your help, the problem was that the .ail file was saved in ANSI mode. Now it works great.
l.guarino
Posts: 15
Joined: Tue Aug 09, 2011 3:42 pm

Re: Localization bug with some Themes

Well yea, I'm sorry but I think I need more help on this translation problem. I really don't want to bug you mutch but here we go:

The SetupTypeDlg have 2 button "Install now" and "Custom" which are not translated (both button and descriptions).

Image

If I click on Custom the next dialog is all in english:

Image

Instead of translating this dialog is it possible to hide the "Custom" button ? In this way there will only be the "Install now" button which ship the user to the next dialog. That would be great since we don't want users to change installation type. I can't find a way to remove that.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Localization bug with some Themes

Hello,

Unfortunately, to modify the dialog appearance you will need at least the Enterprise edition:
http://www.advancedinstaller.com/top-en ... tures.html
http://www.advancedinstaller.com/user-g ... ditor.html

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
l.guarino
Posts: 15
Joined: Tue Aug 09, 2011 3:42 pm

Re: Localization bug with some Themes

Our plan was to buy Java version, so it looks like we are going to need a translation of this form.

Is there a way to identify the string id of this dialog ?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Localization bug with some Themes

Hi,
Is there a way to identify the string id of this dialog ?
You can run a trial version of Advanced Installer, using an Enterprise project to see the identifiers from Dialogs page.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
l.guarino
Posts: 15
Joined: Tue Aug 09, 2011 3:42 pm

Re: Localization bug with some Themes

Thanks that worked out great. Cheers.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Localization bug with some Themes

My pleasure.

Have a nice weekend,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”