Skip to content

LanguageNegociation fail with Safari (iOS9, Safari.9.1.1) #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
orykami opened this issue Jun 2, 2016 · 3 comments
Closed

LanguageNegociation fail with Safari (iOS9, Safari.9.1.1) #80

orykami opened this issue Jun 2, 2016 · 3 comments

Comments

@orykami
Copy link

orykami commented Jun 2, 2016

Hi there !

We are encountering some troubles with LanguageNegociator under Safari.

Here's the Header sent by Safari on mobile & desktop : fr-fr

Accept-Language : fr-fr
$locale = $this->negotiator->getBest($request->getHeaderLine('Accept-Language'), $locales);

with

$locales = ["fr", "en", "it", "de"]

$locale is NULL after that, or it should be fr right ?

Any ideas on what's the deal ?
Thank's !

@willdurand
Copy link
Owner

Hi! It seems related to #76

@hirbod
Copy link

hirbod commented Sep 21, 2017

will this ever get fixed?

@willdurand
Copy link
Owner

Likely fixed by #113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants