Hi!
I´m new to CMSMS and try to realize it with the Multilanguage feature. I have a question concerning the behaviour of the Multilanguage support.
- I have six languages.
- When a user walks through the page, changes the language and the page is available in the chosen language he should view the content in the other language (This is already supported and works quit nice)
- When a user walks througth the pages, changes the language and there is not a translation for this page available, he should be redirected to the homepage of the language he had chosen, not the default language like it is already implemented.
Is there any way to let MLE work this way?
Looking forward to any comments!
Best,
Jon
Multilanguage Behaviour
Re: Multilanguage Behaviour
Old questionjonnieb wrote: I´m new to CMSMS and try to realize it with the Multilanguage feature. I have a question concerning the behaviour of the Multilanguage support.
- I have six languages.
- When a user walks through the page, changes the language and the page is available in the chosen language he should view the content in the other language (This is already supported and works quit nice)
- When a user walks througth the pages, changes the language and there is not a translation for this page available, he should be redirected to the homepage of the language he had chosen, not the default language like it is already implemented.
Is there any way to let MLE work this way?
Looking forward to any comments!
Now I have a patch for this but it's untested
I think go out with 1.4.1b or 1.5
Alby
Re: Multilanguage Behaviour
Hi Alby,
thanks for your effort. You are really doing a well job here!
My problem is, that I didn´t get the workaround to solve my problem. How does it work? How do I have to implement it on my page?
It would be great if you can help me
Best,
Jon
thanks for your effort. You are really doing a well job here!
My problem is, that I didn´t get the workaround to solve my problem. How does it work? How do I have to implement it on my page?
It would be great if you can help me

Best,
Jon
Re: Multilanguage Behaviour
Look here and follow case a.jonnieb wrote: thanks for your effort. You are really doing a well job here!
My problem is, that I didn´t get the workaround to solve my problem. How does it work? How do I have to implement it on my page?
It would be great if you can help me![]()
But replace redirect_lang code with:
Code: Select all
if (! empty($params['to']))
{
redirect_to_alias($params['to']);
}
Alby