Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: