JMSI18nRoutingBundle
JMSI18nRoutingBundle copied to clipboard
Better language detection and validation
Correct me if i'm wrong but shouldn't the hl parameter in the cookie and request be validatet against the available locales ?
And i also extended the browser language detechtion by splitting the language from the country if both are set.
Sounds good.
Could you please add tests, and also check the CS of your patch?
At the moment i haven't the time i try to squeeze this in sometime.
This should really be merged... Its very broken otherwise. I've started to fix a couple of the other unit tests, however a number more need to be fixed up.
+1 but patch looks not so good :(