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
- :
- Perfect
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
‎Mar 23, 2010
09:17 PM
2010 Multi Language - get current language
Hi Im using Installscript (installsheild 2010)
I have a Multi Language project.
in my code(installscript) i have a function that i only want to run if the Language selected on the first dialog is "Spanish"
Is there a Constant or some Variable that i can use to check if the the language the user selected @ the beginning of the install is 'Spanish'?
e.g.
IF (SELECTED_LANGUAGE = 'Spanish')
myfunt();
ENDIF
Any help would be great!
I have a Multi Language project.
in my code(installscript) i have a function that i only want to run if the Language selected on the first dialog is "Spanish"
Is there a Constant or some Variable that i can use to check if the the language the user selected @ the beginning of the install is 'Spanish'?
e.g.
IF (SELECTED_LANGUAGE = 'Spanish')
myfunt();
ENDIF
Any help would be great!
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2010
12:04 AM
Yes you can use SELECTED_LANGUAGE. But the return value is a hex constant.
For Spanish use ISLANG_SPANISH.
For Spanish use ISLANG_SPANISH.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 24, 2010
03:49 PM
Works Perfectly!
I was thinking it would be some kinda of function.
Example: if anyone needs it
if (SELECTED_LANGUAGE = ISLANG_SPANISH) then
MessageBox ("this IS Spanish", SEVERE);
else
MessageBox ("this IS NOT Spanish", SEVERE);
endif;
Thanks for the help gprasadholla !!!
I was thinking it would be some kinda of function.
Example: if anyone needs it
if (SELECTED_LANGUAGE = ISLANG_SPANISH) then
MessageBox ("this IS Spanish", SEVERE);
else
MessageBox ("this IS NOT Spanish", SEVERE);
endif;
Thanks for the help gprasadholla !!!