Trying to read the System Locale
Posted: Tue Jun 14, 2011 11:15 pm
Greetings,
My apologies but I need to know how I would read the system locale - not the language setting of the machhine, but the system locale. One way i have thought of was doing a command call of systeminfo searching for System Locale, but I can't believe there isn't a more reliable way to get this information through Installaware.
I thought to also try to use the registry item: HKCU\Control Panel\International. But the locale shows En even though my System Locale is set to Turkish. Could someone recommend a way that I could read the system locale info.
What I am trying to do is get this value and if it is anything other than 1033 (or 0x0409) I do not install a certain set of files that are US only.
Thank you for your time,
Sheree
My apologies but I need to know how I would read the system locale - not the language setting of the machhine, but the system locale. One way i have thought of was doing a command call of systeminfo searching for System Locale, but I can't believe there isn't a more reliable way to get this information through Installaware.
I thought to also try to use the registry item: HKCU\Control Panel\International. But the locale shows En even though my System Locale is set to Turkish. Could someone recommend a way that I could read the system locale info.
What I am trying to do is get this value and if it is anything other than 1033 (or 0x0409) I do not install a certain set of files that are US only.
Thank you for your time,
Sheree