I'm trying to get this setup but I'm having problems: use lunetics locale bundle.
the user accesses the site www.example.com, the bundle takes the user's locale and displays the page with its local, for example, if his place is the German you will see www.example.com/de.
This configuration can not seem to get it.
The strange thing is that I get strange behavior with the routes even without that bundle: For example I set this route:
acme_site:
resource: "@AcmeSiteBundle/Controller/"
type: annotation
prefix: /{_locale}
defaults: { _locale: en }
requirements:
_locale: en|it
if I go to www.example.com/en page is displayed
if I go to www.example.com I returned an error where it says that there is no route /.
What am I doing wrong?