Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FrameworkBundle] added routing internationalization
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() ?>
- Loading branch information