With this no problem, works has expected. I also have some entities that i made Translatable with the help of stof_doctrine_extensions behind the admin url.
And here comes the problems. I want the admin section to be in the foo.fr domain (main domain). So i need, some urls like :
See what my problem is ? With the host strategy, the locale on foo.fr will always be FR, and it's i guess the normal behaviour. But i need somehow, to be able to override the locale on the main domain for some URLs.
I'm using JMSI18nRoutingBundle with symfony 2.8 and i'm having a problem. I have one host per language, so my config.yml looks like this :
With this no problem, works has expected. I also have some entities that i made Translatable with the help of stof_doctrine_extensions behind the admin url.
And here comes the problems. I want the admin section to be in the foo.fr domain (main domain). So i need, some urls like :
See what my problem is ? With the host strategy, the locale on foo.fr will always be FR, and it's i guess the normal behaviour. But i need somehow, to be able to override the locale on the main domain for some URLs.
Any idea how i can achieved that ?