Forums

Problems with redirect and languages

d-force 06 Feb, 2010
Hi to everybody,

I am using Chronoforms in a website with multilanguage.

I have a problem with the redirect after a user has filled the form.

I mean that the user (ex. danish) is redirect to the "thanks-page" of the default language (in my case Italian) and not to the "thanks-page" in danish.

To avoid this problme I have setted the PlugIn "System - Jfrouter" Save user language in a cookie on YES. I would like to keep it on NO (to avoid problems with other components) .

How can I solve this problems?

Thank you in advance for your help!
GreyHead 06 Feb, 2010
Hi d-force,

You can keep the Thanks page inside ChronoForms by adding it from the OnSubmit After box using a switch statement to show different languages.

Or you could use a switch statement to add the language tag to the ReDirect URL (perhaps I should make that an option in the Multi-Language plugin.

Bob
d-force 07 Feb, 2010
Hi GreyHead, and thank you for your kind reply!

What do you mean for "switch statement"? Maybe a php script?

I don't know how to do it...😢
GreyHead 07 Feb, 2010
Hi d-force,

Yes it's a PHP statement see here and if you search here for 'switch' I think you will find some examples.

Bob
This topic is locked and no more replies can be posted.