function SetRegionalSettingsLanguage(strSetting) { if (Sys.OSInfo.Name == "WinXP") { if (aqEnvironment.GetLocaleInfo(LOCALE_USER_DEFAULT, LOCALE_SLANGUAGE) == strS...
Note that the MSDN article Tanya references does not say it is declared for Win7 - it says it is deprecated for Win7 and later. LOCALE_SLANGUAGE (0x00000002) is in fact available on XP.