This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Our next available supporter will start replying to tickets in about 1.51 hours from now. Thank you for your understanding.

This topic contains 1 reply, has 2 voices.

Last updated by Bobby 7 months ago.

Assigned support staff: Bobby.

Author Posts
March 21, 2019 at 10:01 am #3397721

claesM

Tell us what you are trying to do?
Redirect to a Thank You page after submitting a form using Contact Form 7
Is there any documentation that you are following?
Nope
Is there a similar example that we can see?
See above
What is the link to your site?
See above

March 21, 2019 at 7:23 pm #3419151

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

WPML does not currently have an 'out of the box' function for this but you could try to use our Hooks to create a custom code that could handle this

https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/

or even an if/else statement such as the following using the ICL_LANGUAGE_CODE (change the code to the appropriate one for your language)

   if( ICL_LANGUAGE_CODE == 'es' ){
 		//Add your redirect code here
}else if (ICL_LANGUAGE_CODE == 'en'){
		//Add your redirect here
}