Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language switcher #670

Open
yacreo opened this issue Oct 4, 2013 · 1 comment
Open

Language switcher #670

yacreo opened this issue Oct 4, 2013 · 1 comment

Comments

@yacreo
Copy link

yacreo commented Oct 4, 2013

Hello,

I'm trying to add a language switcher to my page but my pages dont seem to change the language. I've tried the simple way:

  • Français
  • English
  • The above code just add _locale=fr to the page. But it doent work.

    I've also tried some thing line
    /{_locale}/dddd/dddd(creating controller to switch the language) in my routing but it doesnt change the pages.

    Could you share you experience regarding this matter?

    @cedriclombardot
    Copy link
    Member

    Are you sure is only an admingenerator problem ?
    Have you test overwritting the template (eg List:index.html.twig) ?

    Check your config : http://symfony.com/fr/doc/current/book/translation.html

    2013/10/4 yacreo [email protected]

    Hello,

    I'm trying to add a language switcher to my page but my pages dont seem to
    change the language. I've tried the simple way:

    Français
    English

    The above code just add _locale=fr to the page. But it doent work.

    I've also tried some thing line
    /{_locale}/dddd/dddd(creating controller to switch the language) in my
    routing but it doesnt change the pages.

    Could you share you experience regarding this matter?


    Reply to this email directly or view it on GitHubhttps://github.com//issues/670
    .

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants