Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Multilingual Security-pages

Go to End

2 Posts   655 Views


Community Member, 2 Posts

4 March 2014 at 4:29am


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.


Community Member, 2 Posts

12 March 2014 at 9:41pm

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.