Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » Multilingual Security-pages

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 289 Views
  • devOp1
    Community Member
    2 Posts

    Multilingual Security-pages Link to this post


    i'm currently working on a multilingual website(french, german, english) and using the modules translatable and languageprefix.
    The page have some secured pages, when the user is not logged in the LoginForm comes with the Url: "DOMAIN/Security/login?BackURL=%2Fthe_page%2F.
    But the login form ignores the current language and shows always up with the default language(german). The same problem with just /Security/login.
    How can I set the language of Security-Controller dynamically?

    I already googled and found similiar questions but no helpful hints.

    Thank you in advance.

  • devOp1
    Community Member
    2 Posts

    Re: Multilingual Security-pages Link to this post

    Is it possible to set the current language into a session variable and then override the security controller and set the language there from the session variable?

    I really need to solve this, so i would be very thankfull for any hint or idea.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.