Page 1 of 1

Default language selection

Posted: Wed Dec 13, 2006 1:11 pm
by schlaup
I am localizing my test setup now. Everything works fine except:

If I select the language selector in the project properties the language of the OS is correctly preselected.

However, if I turn the language selector off the InstallAware Wizard always displays English text regardless of the OS language. My guess is that it picks the "Default language" setting which is English.

I expected that the "Default language" would be the fallback language.

Even if I do not display the language selector I expected InstallAware to set LANGUAGE to the OS language setting and only if a matching translation is not available it would set it to the "Default language".

Is this a bug or is my assumption wrong? If the behavior is by design how can I retrieve the OS language setting from the system and set LANGUAGE appropriately in my install script?

Thanks,

Peter

Posted: Wed Dec 13, 2006 1:35 pm
by schlaup
I can answer my own question if the described behavior is by design:

I can use Get System Setting Language to retrieve the OS language and then set LANGUAGE in script. (Unfortunately it does not return the language in English so that it cannot directly be assigned to LANGUAGE.)

Maybe there is a better way?

Posted: Mon Sep 28, 2009 9:55 am
by desjardd
Hello,
When we try this we get the default language selected correctly but then the installer is always in English, no matter which language we selected automatically.

Anyone had success doing this?

Thanks!

Daniel

Posted: Thu Oct 01, 2009 8:38 am
by Bar_BQ
Hi guys,

Language selection in this way won't work correctly. For example "Polish" language. Function that checks the system's language will return string "Polski", so this way fails. I suggest to use Get System Language Numeric.