Is there any Window API to get the OS Installed Language?

Locked Is there any Window API to get the OS Installed Language?

  • Friday, March 19, 2010 4:51 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

All Replies

  • Friday, March 19, 2010 9:38 AM
     
     Answered
    Function GetUserDefaultUILanguage() returns install language.
    • Marked As Answer by Ashwini Gowda Friday, March 19, 2010 9:38 AM
    •  
  • Friday, March 19, 2010 12:28 PM
     
     
    
    Ashwini Gowda wrote:
    > Function GetUserDefaultUILanguage() returns install language.
     
    You may want GetSystemDefaultUILanguage. The value returned by GetUserDefaultUILanguage is user-configurable and may be different for different users on the same machine. See also
     

    --
    Igor Tandetnik