locked
Converting LCID to Locale name RRS feed

  • Question

  • Hi,

    I am facing issues while installing our help documentation for the Visual Studio Add-in we are developing.

    Need to install help to the Visual Studio locale. I am able to get the locale id of Visual Studio from registry-

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VS\Servicing\10.0\[VSTSCore]\[LCID]

    This gives the LCID and I need to convert this to locale name to invoke the Help Library Manager.

    I can not use LCIDToLocaleName function of Kernel32.dll because this works only for Vista.

    I also tried fetching the Locale name with LCID from registry- HKLM\SOFTWARE\Classes\MIME\Database\Rfc1766\

    But this does not work because Visual Studio 2010 help system seems to be following Rfc4646 standard.

    Is there a way to convert LCID to locale name so that I can use while installing our help documentation using a MSI?

    Thanks,

    Sajith
    • Moved by Figo Fei Monday, June 28, 2010 8:39 AM (From:Developer Documentation and Help System)
    Thursday, June 24, 2010 1:05 PM

Answers

All replies