Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

How should i get region and language name using GetLocaleInfo

$
0
0

Hi All
Below codes gives error.I am trying to get language and region name from system
Error "The requested information about locale could not be obtained"
function GetLocaleName()
{
var intLCID = Win32API.GetUserDefaultLCID();
LOCALE_SNAME = intLCID;
Log.Message(GetLocaleInfoEx(LOCALE_USER_DEFAULT, LOCALE_SNAME));
}

 

How should i get region and language name ?


Viewing all articles
Browse latest Browse all 20755

Latest Images

Trending Articles



Latest Images