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
- :
- Inconsistent Language IDs
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
Jan 16, 2009
08:20 PM
Inconsistent Language IDs
if (SELECTED_LANGUAGE != SYSINFO.nSystemDefaultUILangID) then
NumToStr( szTemp2, SELECTED_LANGUAGE ); //9
MessageBox(szTemp2, WARNING);
NumToStr( szTemp1, SYSINFO.nSystemDefaultUILangID ); //1033
MessageBox(szTemp1, WARNING);
MessageBox(@NONDEFAULT_LANG_MSG, WARNING);
endif;
OK, so they are both really English. I selected English and my system is English. I don't understand why the selected language comes back as 9, and nSystemDefaultUILangID comes back as 1033. What's going on?
I checked topic "language identifier", and it looks like the 9 is a chopped version of 0x0409, and 1033 is for MSI; however, I'm developing in installscript!
Thanks! any help would be much appreciated.
NumToStr( szTemp2, SELECTED_LANGUAGE ); //9
MessageBox(szTemp2, WARNING);
NumToStr( szTemp1, SYSINFO.nSystemDefaultUILangID ); //1033
MessageBox(szTemp1, WARNING);
MessageBox(@NONDEFAULT_LANG_MSG, WARNING);
endif;
OK, so they are both really English. I selected English and my system is English. I don't understand why the selected language comes back as 9, and nSystemDefaultUILangID comes back as 1033. What's going on?
I checked topic "language identifier", and it looks like the 9 is a chopped version of 0x0409, and 1033 is for MSI; however, I'm developing in installscript!
Thanks! any help would be much appreciated.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 22, 2009
12:04 PM
(Follow-up of sorts [thread=185809]here[/thread].)
![](/skins/images/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)