I have not found a solution to this as of yet and I scoured through here first with no answers. Anyways, I have a multilingual Wordpress website (www.gcmf.ca) using the WPML plugin to manage between English (default) and French. I am using CiviCRM profile forms to "walk" the logged in members through a renewal process. When they fill out the first page and click the Save button, it redirects them to the next page to fill out. This works beautifully for English!
The problem happens when French is selected and they save the form. Since there can only be one URL entered in that Advanced field, it takes them to the next page, but it's in English. They have to manually select French again. The path for English looks something like… “https://gcmf.ca/some-web-page/” and for French… “https://gcmf.ca/fr/some-web-page/”. So you can see my dilemma.
Does anyone have ANY suggestions? I'm going to ask the users over at WPML to see if a language can be set by other means rather than using a language specifier in the URL. That could solve the problem. Also, from the CiviCRM side, I am wondering if there is a work around even if it involves a little code behind. I am not a PHP programmer though and my skills in that area are very limited.
Ideally for the future, a nice feature would be to allow multiple values for the two redirect fields based on the language just like you can for the individual profile field labels and help text.
Any help would be GREATLY appreciated!
Kindly, Rick Monyer