multi-language Exe not select the best option based on machine configuraiton

Having trouble running Advanced Installer? Got a bug to report? Post it all here.
Post Reply
bottonTurn
Posts: 11
Joined: Wed Mar 28, 2018 3:36 pm

multi-language Exe not select the best option based on machine configuraiton

Post by bottonTurn » Thu Mar 26, 2020 3:30 pm

Hi all, I am creating a multi-language exe and select spanish, i found if the machine have a regions setting like es-UY then advance installer show the setup in English and not in "es"

How can I force to select "es" ? since the structure is es-XX if XX not exist then must select "es" language.

Thanks, diego

Catalin
Posts: 2640
Joined: Wed Jun 13, 2018 7:49 am

Re: multi-language Exe not select the best option based on machine configuraiton

Post by Catalin » Wed Apr 01, 2020 1:12 pm

Hello Diego,

Could you please forward me a screenshot of how you have configured your package in the "Translations" page --> "Languages" tab?

Looking forward to hearing from you.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

bottonTurn
Posts: 11
Joined: Wed Mar 28, 2018 3:36 pm

Re: multi-language Exe not select the best option based on machine configuraiton

Post by bottonTurn » Thu Apr 02, 2020 1:24 pm

Sure, here you have the screenshot.
languages config.PNG
languages config.PNG (33.13 KiB) Viewed 183 times

Catalin
Posts: 2640
Joined: Wed Jun 13, 2018 7:49 am

Re: multi-language Exe not select the best option based on machine configuraiton

Post by Catalin » Mon Apr 06, 2020 11:38 am

Hello,

When using the "Automatically use current user language for installation" option, the language returned by the "GetUserDefaultLangID()" function is preferred by the installer.

This function returns the language identifier for the current user as set under Control Panel --> Clock and Region --> Change date, time, or number formats --> Formats tab --> Format dropdown.

With that being said, please make sure that the language under the "Format" dropdown is set to Spanish.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

bottonTurn
Posts: 11
Joined: Wed Mar 28, 2018 3:36 pm

Re: multi-language Exe not select the best option based on machine configuraiton

Post by bottonTurn » Tue Apr 07, 2020 8:51 pm

Thank for help, I see, but why if i configure the format on clock setting to use es-uy then installer not select the default language(en), I expect if no es-uy translation go to "es" since language setting are a structure.

Catalin
Posts: 2640
Joined: Wed Jun 13, 2018 7:49 am

Re: multi-language Exe not select the best option based on machine configuraiton

Post by Catalin » Thu Apr 09, 2020 3:27 pm

Hello,

I have tested this and indeed, you are right, it seems that if the "Format" field is set to "Spanish (Uruguay)", the setup will be launched in English.

I have added an improvement on our TODO list in what regards this matter. Once this will be implemented, I will update this thread.

Until then, I am afraid that the only workaround for this would be to use the "Display language selection dialog (for multi-language packages)" option and let your users decide what the installation language should be.

Hope this helps somehow.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

bottonTurn
Posts: 11
Joined: Wed Mar 28, 2018 3:36 pm

Re: multi-language Exe not select the best option based on machine configuraiton

Post by bottonTurn » Thu Apr 09, 2020 7:55 pm

Great, thank you for your help! do you know when this will be fix and release? or how to monitor this issue?

Catalin
Posts: 2640
Joined: Wed Jun 13, 2018 7:49 am

Re: multi-language Exe not select the best option based on machine configuraiton

Post by Catalin » Fri Apr 10, 2020 2:46 pm

You are always welcome!

Unfortunately, I can not give you an estimation as to when this will be ready.

However, I will update this thread as soon as this improvement will be added to Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Post Reply