WPML

Overview of the Issue

After updating the The Events Calendar plugin, some users may see strings in the wrong language.

This test site in English shows some Chinese strings

Workaround

This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.

The issue will be fixed in the next update of The Events Calendar plugin.

In the meantime, you can follow these steps to get the issue resolved:

Please make sure that you have a full backup of your WordPress files and database.

Modify /plugins/the-events-calendar/src/Tribe/I18n.php LINE 189

From

remove_filter( 'locale', $force_locale );

To

remove_filter( 'locale', $force_locale );

		foreach ( (array) $args[1] as $domain => $file ) {
			// Reload it with the correct language.
			unload_textdomain( $domain );

			if ( 'default' === $domain ) {
				load_default_textdomain();
			} else {
				Common::instance()->load_text_domain( $domain, $file );
			}
		}

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.

Ask a support question

All known issues