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.

All other Modules /

Discuss all other Modules here.

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

Multilingual Security-pages


Reply


2 Posts   383 Views

Avatar
devOp1

Community Member, 2 Posts

4 March 2014 at 4:29am

Hi,

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

Avatar
devOp1

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.