News for hackers. Stuff that matters.
Re:Don't set the language of your website based on user loca... by marticode on Monday May 18, 2020 @02:02AM (#23218890)
> we don't know the user's language preferences until we reach the browser and can execute some JavaScript

This is untrue: the HTTP "Accept-Language" header tells the server what language the browser wants to get, right before any request get served. There is no need for Javascript.

Re:Don't set the language of your website based on user loca... by lazerlapin on Tuesday May 19, 2020 @02:16AM (#23231783)
Alright, fair enough