I want to determine user locale and set corresponding parameter in router in such a way as to set it into url. I tried to set locale to request object and session on kernel.request
event, but it always set default locale parameter into url.
I saw needed behaviour in symfony cmf, but haven't found how that implemented. Have read documentation. Have searched for answer. No results.