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
- :
- Re: Get the language of current operating system in script
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
‎May 22, 2011
08:21 PM
Get the language of current operating system in script
Hi,
In my setup project, creating shortcuts is in script by the method AddFolderIcon. Currently My setup is only English, but in the future we want to deploy the setup to Chinese or Japanese customers, so we need to change the shortcut name in the start menu.
I have no idea how to archive this.
What I am thinking is getting the current culture of the operation system, if it is Japanese, then create a Japanese shortcut.
In my setup project, creating shortcuts is in script by the method AddFolderIcon. Currently My setup is only English, but in the future we want to deploy the setup to Chinese or Japanese customers, so we need to change the shortcut name in the start menu.
I have no idea how to archive this.
What I am thinking is getting the current culture of the operation system, if it is Japanese, then create a Japanese shortcut.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2011
04:10 AM
which IS project are u working on.
I thnk the approach will be like let the user deside which language he wants the installer to run...and by doing that if he selects someother language its shortcut could be made to that language be editing that entry in the string entry.
I thnk the approach will be like let the user deside which language he wants the installer to run...and by doing that if he selects someother language its shortcut could be made to that language be editing that entry in the string entry.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2011
06:29 AM
GetSystemInfo ( LANGUAGE , nvResult, svResult);
This API will help to get the currently installed language in the machine.
This API will help to get the currently installed language in the machine.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 23, 2011
08:32 PM
The version I used is InstallShield 2011