Forum Discussion
yuchang
11 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;
}
Related Content
- 4 years agoSKR
- 2 months agoSahall0308
Recent Discussions
- 15 hours agotramuntana
- 3 days agoSlickRick