Detect user's locale: country & browser language

Anyone familiar with a lightweight method that doesn’t depend on a 3rd party service to detect user locale data like user’s country (i.e. detected by system’s timezone setting) and browser language?

Thanks for any advice in advance!

Community Page
Last updated: