Hello World! I developed a patch to add internationalization in the routing of Symfony2.
Here's how it works: In your routing.yml: homepage: pattern: /:_locale defaults: { _controller: MyBundle:MyController:index, _locale: en } requirements: { _locale: (en|fr) } In your PHP template: <?php echo $view['session']->getLocale() ?> The commit : https://github.com/francisbesset/symfony/commit/9efb29db72ff2564de417b0e25a7f927acb82588 The branch : https://github.com/francisbesset/symfony/tree/routing_internationalization The repository : git://github.com/francisbesset/symfony.git routing_internationalization Thanks for your reporting. -- 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