Problem with default language - Advanced Installer Community
konstantinkoll
Posts: 15
Joined: Fri May 27, 2011 2:45 am

Problem with default language

Dear Advanced Installer team,

I have a problem with my project regarding the installer's default language.

The installer contains strings for German, English, Spanish and French. However, when the installer is executed on a Russian version of Windows with Russian locale, the installer reverts to German instead of English. My company is located in Germany - does the locale at "compile" time matter?

As a feature request, Advanced Installer should not use the Locale to determine the language, but the Win32 function GetSystemDefaultUILanguage().

Thank you very much for your help,
Konstantin
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem with default language

Hi Konstantin,
does the locale at "compile" time matter?
No, the project reverts to the default language selected in the "New Project" dialog. Which probably is by coincidence set to
German too. The language settings of the build machine do not matter.
but the Win32 function GetSystemDefaultUILanguage().
From Bootstrapper tab, Media page, you can choose what language should the setup use, i.e. default user/system language, or to display a
language selection dialog.

If you are not using an EXE the language is controlled by Windows Installer, since Russian was not available the MSI defaulted to its original creation language.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
konstantinkoll
Posts: 15
Joined: Fri May 27, 2011 2:45 am

Re: Problem with default language

Thank you for your quick response, Bogdan!

How can I change the default language in the XML file of my existing project? It it the line

Code: Select all

<ROW Property="ProductLanguage" Value="1031"/>
which should be set to 1033 for English?

-Konstantin
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem with default language

Hi Konstantin,

I'm afraid this cannot be changed. Not from the GUI of Advanced Installer nor by th editing the project file manually, in a text editor.
You will have to create a new project from the beginning.

As a side note, you should now that it is not recommended manual editing of the aip file. Only Advanced Installer should edit the file,
or one of the members of our team in case the file is corrupted by a bug from our application.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
konstantinkoll
Posts: 15
Joined: Fri May 27, 2011 2:45 am

Re: Problem with default language

Bogdan,

I assume ProductLanguage=1033 will do the job. Yes, I have exchanged all other GUI strings in the XML file with their English counterparts as well, as I understand how the translation system of Advanced Installer is working. I've grown fairly fond of directly editing the XML over time ;-)

-Konstantin

Return to “Feature Requests”