Contact Form 7 – Secondary language form submission fails

Submitting the form is getting fails. This producess the below console error:

404 (Not Found)

This issue occurs only when setting the language URL format to “Language name added as a parameter“.

The solution is very simple.

Add this code to the theme’s functions.php file, found in the ../wp-content/themes/theme-name/ folder:

add_filter( 'wpcf7_load_js', '__return_false' );

Thats it 🙂