WPML

Overview of the Issue

When using the Productive Forms plugin with WPML, the texts you set in the plugin’s settings stay in the default language on translated pages. This affects the consent texts, the newsletter heading and intro, and the success messages, even when you translate them in String Translation.

Workaround

Add this code to your child theme’s functions.php file, or in a small plugin:

PHP
add_action( 'wp_loaded', function () {
	$GLOBALS['productive_forms_section_options_contact']    = get_option( 'productive_forms_section_contact_options' );
	$GLOBALS['productive_forms_section_options_newsletter'] = get_option( 'productive_forms_section_newsletter_options' );
} );

Then translate the texts in WPMLString Translation.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.