This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How do I get user-selected language?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2008
03:54 PM
How do I get user-selected language?
Hi,
I'm building a multi-lingual installer with the dialog shown to select the language.
My installation requires an XML file be changed based on the language the user selected.
How may I retrieve the user selection?
I know that for installations without such dialog I can just retrieve systeminfo but in this case the system info locale might be different than what the user selected.
Help much appreciated.
I'm building a multi-lingual installer with the dialog shown to select the language.
My installation requires an XML file be changed based on the language the user selected.
How may I retrieve the user selection?
I know that for installations without such dialog I can just retrieve systeminfo but in this case the system info locale might be different than what the user selected.
Help much appreciated.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2008
04:28 PM
oddys4 wrote:
Hi,
I'm building a multi-lingual installer with the dialog shown to select the language.
My installation requires an XML file be changed based on the language the user selected.
How may I retrieve the user selection?
I know that for installations without such dialog I can just retrieve systeminfo but in this case the system info locale might be different than what the user selected.
Help much appreciated.
use MSIGetProperty() to get the value of "Language" or pehaps it is "languages". This internal var contains currrent value.
HTH
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 21, 2008
04:46 PM
Gvarma wrote:
use MSIGetProperty() to get the value of "Language" or pehaps it is "languages". This internal var contains currrent value.
HTH
It is actually called SELECTED_LANGUAGE, which contains a hex value that can be corresponded to actual string.
HTH
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)