|
|
|
|
|
by crabmusket
1 day ago
|
|
But lang in this case would be a property of the document itself, not the user agent, right? I can't see a way in CSS to detect the user agent preferred language, but you could do this in JS and add another attribute to the document or whatever. |
|
It has been a year since I last checked, and I did use JS and 'navigator'.
However, importantly for me, I was able to avoid a trip back to the server for the few bits I wanted - introduction - in different locales.