hi evryone i work with symfony2, rc4 version. i have links to change the language, but i can't succeed in redirecting to the actual translated page, it always sends me to the index. actually, i first asked for this to happen, but i'm trying to change that. each time i succeed in redirecting to the actual page, it's not translated, and each time i succeed in translating, it's because i redirected to a pre-specified page...
the links in the footer.html.twig file looks like this : <a href="{{ path('setLanguage', { '_locale': 'fr' }) }}">French</ a> in the routing.yml of this bundle : setLanguage: pattern: /language/{_locale} defaults: { _controller: AssurwebSiteStandardBundle:Standard:language, _locale: fr } requirements: _locale: fr|en|de|es|it|se|pt|cn|ae i'm not showing the setLanguageAction from the controller because it doesn't look like anything good for now... and i'm pretty sure that's the only thing i need to modify for it to work... if anyone could help me, it would be really great. thanks everyone. GasMichou ps : excuse my english... i'm french (but i don't eat frogs or cheese... those are disgusting ^^) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en