symfony - locale switcher languages are not displaying -
i using locale switcher
https://github.com/lunetics/localebundle/blob/master/resources/doc/switcher.md and calling {{ locale_switcher() }} in twig displays list of languages... works fine every page /news/ /profile/ whatever ...
then have different content "main root" "/" mysite.com/ if user logged in or not.
it works when user logged out .. locale_switcher display languages... @ same url .. when logged in .. it doesn't work... , of course work @ /home/ etc... if logged in...
and have no idea why... ideas?
this should work
project_main: pattern: /{_locale} defaults: _controller: projectwebbundle:main:main _locale: %locale%
Comments
Post a Comment