Forum Discussion
yuchang
13 years agoContributor
I found the way to find the language of the OS, however still need to know how to find the language of the browser.
function getHostLanguage(){
var result = Storages.Registry("Control Panel\\International\\", HKEY_CURRENT_USER);
var lanaguage = result.GetOption("sLanguage",0);
Log.Message(language);//show me current language
return language;
}
function getHostLanguage(){
var result = Storages.Registry("Control Panel\\International\\", HKEY_CURRENT_USER);
var lanaguage = result.GetOption("sLanguage",0);
Log.Message(language);//show me current language
return language;
}