I have a problem with routing and the internationalization of my site built with Symfony2. If I define routes in the routing.yml file, like this:
exampl
I use annotations, and i will do
/** * @Route("/{_locale}/example", defaults={"_locale"=""}) * @Route("/example", defaults={"_locale"="en"}, , requirements = {"_locale" = "fr|en|uk"}) */
But for yml way, try some equivalent...