cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
oddys4
Level 3

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.
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

(Follow-up of sorts [thread=185809]here[/thread].)
0 Kudos