Default language selection

Got a problem you cannot solve? Try here.
Post Reply
schlaup
Posts: 18
Joined: Wed Dec 06, 2006 10:23 am

Default language selection

Post 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
schlaup
Posts: 18
Joined: Wed Dec 06, 2006 10:23 am

Post 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?
desjardd
Posts: 5
Joined: Fri Aug 21, 2009 9:52 am
Location: Montreal
Contact:

Post 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
Bar_BQ
Posts: 99
Joined: Fri Aug 22, 2008 5:45 am

Post 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.
Post Reply