Closed jaugustin closed 7 years ago
Hi,
I port my fix #65 to the 2.x branch
This should resolve #76 I add the same unit test and add also new data to test.
With my fix the priority is over the exact match, I don't know if this is expected or if fallback to generic should have less priority.
In the next unit test it match generic "FR" over specific "en-US"
array('fr-FR, en-US;q=0.8', array('fr', 'en-US'), 'fr'),
Thanks!
Hi,
I port my fix #65 to the 2.x branch
This should resolve #76 I add the same unit test and add also new data to test.
With my fix the priority is over the exact match, I don't know if this is expected or if fallback to generic should have less priority.
In the next unit test it match generic "FR" over specific "en-US"