Hacker News new | past | comments | ask | show | jobs | submit login

I use navigator.languages to guess the user's possible countries. It's not perfect, but the cost of guessing wrong is low. I've used the same technique to show currency conversion tooltips in the content.



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

Search: