http_accept_language
http_accept_language copied to clipboard
Not working at all with Safari
The gem works on all browsers I've tried except for Safari (10.1). The following line http_accept_language.preferred_language_from(I18n.available_locales) works as expected everywhere but returns null with Safari. I'm guessing that's because it handles the Accept-Language diferently.
Just tested on Safari 12.0 (14606.1.36.1.9), it work as expected. What's the headers the browser send to the server?