JMSI18nRoutingBundle
JMSI18nRoutingBundle copied to clipboard
How to use multiple hosts except in admin routes
Hi,
I'm using multiple hosts, one for every locale.
I want change the locale in /admin routes without change the host because then symfony require me login again.
Is possible?
Thanks
In case you have different subdomains for each locale, you can use symfony session settings to solve your problem with authorization:
http://www.elao.com/fr/blog/subdomains-symfony2-2-session-authentication
Otherwise you can use "_locale" parameter to force generation of URL for specific locale.