Language name in the language selector dialog

Got a problem you cannot solve? Try here.
andrejzr
Posts: 68
Joined: Sun Jun 25, 2006 9:17 am

Language name in the language selector dialog

Postby andrejzr » Thu Aug 17, 2006 9:50 am

Hello,

I am preparing the installation script, and would like to use the Language selector box. After translating the global strings, the box is translated and proper language (based on system locale) is selected.

What doesn't get translated in my install are the language names. If I run the setup on German machine, it will start in German, and the prompts in the language selector are German, but the language names in the combobox are still in English? (would like to see Deutsch there, not German :wink: )

Is there a way to translate the languag names? If not, probably I could solve this by implementing language selection in a custom dialog. If this is the solution, can you give me a hint, what is the optimal way to determine system locale and then set the LANGUAGE variable? I tried by with "Get System Settings" command, getting Language ID (number) and then writing several IF statements to set the language. Is there an easier way?

Thanks for support
Andrej

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Thu Aug 17, 2006 4:49 pm

Hi Andrej,

The most direct way as you have observed is to build a custom dialog for the job. The Multi Lingual Setups sample already contains such a custom dialog which should illustrate the logic and dialog design for you.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 181 guests