DEV Community

Discussion on: Stop setting the language of your website based on user location

Collapse
 
aravindet profile image
Aravind Ravi Sulekha

Some websites are still generated on the server, so it might be helpful to mention the Accept-Language HTTP request header. developer.mozilla.org/en-US/docs/W...

Collapse
 
bitdweller profile image
Pedro Pimenta

Oh definitely. I just meant this post as an idea or concept. In the end I added that JS snippet because that's my area and it's how they're mostly done :)