3 ms·
> I am not sure what headers your ipad is sending, but i doubt it sends what your language preference is. (i could be wrong) You're wrong. :) This is what the
by matt_kantor 10y ago
> I am not sure what headers your ipad is sending, but i doubt it sends what your language preference is. (i could be wrong)
You're wrong. :)
This is what the Accept-Language header is meant for[1]. AFAIK it is sent by most modern browsers, although as the referenced MDN article explains it isn't always an accurate reflection of user preferences. I'm not sure how iOS Safari in particular sets its value, but I would imagine that it is based on the current OS language setting.
[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation#The_Accept-Language_header https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_ne...