I'm trying to translate my url routing in Symfony2.
I already manage that the tld change the language of my application.
Ex:
The translation is working for static word in template with
{% trans %}Hello %name%{% endtrans %}
http://symfony.com/doc/2.0/book/translation.html#translations-in-templates
but I'm trying to translate the routing.
Ex:
All url going to the same action
I didn't find a good way to do it with Symfony2
ps: I saw this post Zend translate URL and language switcher it's quite the same problem but with Zend
I think what you are looking for is the BeSimpleI18nRoutingBundle:
https://github.com/BeSimple/BeSimpleI18nRoutingBundle
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With