Hacker News new | ask | show | jobs
by jpulgarin 5446 days ago
Localization doesn't seem to work very well. I'm in Waterloo, Canada. This is what the script outputs for me:

> session.locale.country

"US"

> session.locale.location

undefined

2 comments

Are you not confusing

1) session.locale, which is the locale (ie. regional settings) configuration of your browser and might very well be US,

and

2) session.location, which gives your geographic location ?

I'm in Nairobi, Kenya. The output indicates I'm in the US as well.