CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2010
    Posts
    4

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

    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

  2. #2
    Join Date
    Mar 2010
    Posts
    4

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

    Function GetUserDefaultUILanguage() returns install language.

  3. #3
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,633

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

    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.
    Best regards,
    Igor

  4. #4
    Join Date
    Mar 2010
    Posts
    4

    Smile Re: [RESOLVED] Is there any Window API to get the OS Installed Language?

    Hello Igor,

    Thanks for the suggestion. Will try.

    Best Regards,
    Ashwini

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured