willdurand/Negotiation

Generic language negotiation is missing since 2.0

ruudk opened this issue · 4 comments

ruudk commented

I don't know if this is an mistake or not but this merged PR #65 is missing in 2.0.

$acceptLanguageHeader = 'fr-FR, en-US;q=0.8';
$priorities           = array('fr');
// should return 'fr'

Hi! so this is what you tweeted me the other day, right? It has not been backported I'd say.

ruudk commented

Yep I tweet about that.

Would it be easy to have this back in? Because it has been fully rewritten.

will this ever get fixed?

@hirbod this should be fixed by #96