Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 10:00 – 17:00 -
- 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 18:00 – 19:00 -

Supporter timezone: Asia/Kathmandu (GMT+05:45)

Tagged: 

This topic contains 17 replies, has 1 voice.

Last updated by Shekhar Bhandari 20 hours, 48 minutes ago.

Assisted by: Shekhar Bhandari.

Author Posts
April 16, 2026 at 12:53 am #17972451

siew-funC

Hello,

I have created two dummy events in the sandbox.

img3.PNG
April 16, 2026 at 3:51 am #17972557

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello,

I wanted to let you know that I’ve escalated the issue to our compatibility team. I’ll keep you updated as soon as I receive any feedback from them.

Thanks.

April 17, 2026 at 7:48 am #17976144

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Our compatibility team checked the issue and suggested the following workarround for now:

- Go to wp-content/plugins/wp-event-manager/external/wpml.php
- Add the following code at the end of the file

// wpmltriage-4054
add_filter( 'wpem_wpml_current_language', function( $empty_value ) {
	return apply_filters( 'wpml_current_language', null );
} );

add_filter( 'wpem_wpml_object_id', function( $element_id, $element_type, $return_original_if_missing = false, $language_code = null ) {
	return apply_filters( 'wpml_object_id', $element_id, $element_type, $return_original_if_missing, $language_code );
}, 10, 4 );

add_action( 'wpem_wpml_switch_language', function( $language_code ) {
	do_action( 'wpml_switch_language', $language_code );
} );

This should fix the issue, look forward to your reply.

Thanks