Symfony2 Use default locale in routing (one URL for one language)
I am currently developing a website with Symfony2 and I need to translate it. With tools provided by Symfony2 it’s very easy. But I encounter a problem: I would like to have specific URL (with prefix) to a language (ie, one URL, a single language), but with a default language. Concretely: Assume that the default language is English, so http://example.com/fr/hello display the page in French http://example.com/it/hello display the page in Italian http://example.com/en/hello redirect to http://example.com/hello (because en is the default language) http://example.com/hello display of course the