• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

[Paid] Get Internet Explorer language from registry

rolo

Member
I have tried this but it does not work:

Code:
Msgbox CreateObject("WScript.Shell").RegRead("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\International\AcceptLanguage")

I need to know exactly which registry key to read so I can get Internet Explorer default language.

I can pay for this solution, just give me your best quote

Thanks!
 
Hi, rolo!

The registry key is valid but it's only created and filled if you have explicitly specified a language under Tools, Internet Options, Language. Otherwise the posted registry entry won't exist.

I use Argentine Spanish and the message displayed an error as the key didn't exist.
Then I added Great Britain English and the message displayed this, so the key exists:
es-AR,en-GB;q=0.5
Then I removed GB English and the message displayed this:
es-AR
Then I removed ARG Spanish and the message displayed blank, so the key exists but it's empty.

If not set and using the default Windows language setting, if you're willing to deal with it, here's the how to:
https://www.experts-exchange.com/qu...et-Windows-system-language-from-registry.html

Hope it helps.

Regards!
 
Last edited:
Back
Top