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.

This topic contains 2 replies, has 2 voices.

Last updated by Rajeeb Banstola 3 months, 2 weeks ago.

Assigned support staff: Rajeeb Banstola.

Author Posts
July 1, 2019 at 8:27 pm

Anders

I am trying to:
get popup to work in english but it keeps danish version

July 1, 2019 at 8:37 pm #4122113

Anders

hidden link

July 1, 2019 at 9:40 pm #4122227

Rajeeb Banstola

Hi,

Thank you for contacting WPML!

I found a older thread about your theme's popup not being translated. There's a small workaround code that you can add in your child theme's functions.php which should solve the issue.

Please try adding the below code:

add_action( 'parse_query', function( $q ) {
    $q->query_vars['suppress_filters'] = false;
} );

You can find the old thread here:

https://wpml.org/forums/topic/popup-translation-is-not-working/#post-2853402

Please give it a try and let me know if it works for you!

Best,