← Back to context

Comment by KTibow

10 days ago

fyi, you can automatically detect the user's language and switch to English when applicable by using `navigator.language`...

...or even better, don't use JS (which doesn't work on older browsers and prevents some optimizations), and read the Accept-Language header instead

And please do NOT do what gogle does and pretend that certain values in the Accept-Language header don't indicate a user preference and you should guess based on the IP address instead.