I have a page showing a form. The field names are translated via the _t() function. How can I switch the CMS language by passing a GET parameter? I remember somthing like myURL?lang=de doing the job but it does not work.
Thanks for your help.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I have a page showing a form. The field names are translated via the _t() function. How can I switch the CMS language by passing a GET parameter? I remember somthing like myURL?lang=de doing the job but it does not work.
Thanks for your help.
Switching languages via GET isn´t a feature anymore since 2.3.1. I have to implement this by myself.
Thanks for the hint, Ingo.