Click to See Complete Forum and Search --> : [RESOLVED] Is there any Window API to get the OS Installed Language?


ashwinigowda
March 19th, 2010, 04:27 AM
Hi,

I tried GetLocaleInfo, but it returns Regional Language setting info, not the Installed OS language detail!!
(Ex: Japanese OS, English OS) within Japanese OS i change the Regional setting to English, but i want the info about the 'OS Language', i.e Japanese.

please let me know if any API provide these details.


Thanks,
Ashwini

ashwinigowda
March 19th, 2010, 04:37 AM
Function GetUserDefaultUILanguage() returns install language.

Igor Vartanov
March 19th, 2010, 04:46 PM
:) Lack of experience, no doubt. Seems like you never saw English version with user-default Russian or Japanese.

I'd recommend to find out kernel32.dll language by its version info resource.

ashwinigowda
March 20th, 2010, 12:22 AM
Hello Igor,

Thanks for the suggestion. Will try.

Best Regards,
Ashwini