Resolved
Overview of the issue
When translating texts stored by The Events Calendar plugin in the wp_options table (Admin Texts), the original language versions are displayed on the front-end.
Workaround
The translation can be fixed by adding the following code to your theme’s functions.php file:
add_filter('tribe_get_single_option', 'tribe_options_multilingual', 20, 3); function tribe_options_multilingual( $option, $default, $option_name ) { if (is_string($option)) { return apply_filters( 'wpml_translate_single_string', $option, 'admin_texts_tribe_events_calendar_options', '[tribe_events_calendar_options]' . $option_name); } else { return $option; } }
Thank you for this workaround, I found it here in the WPML forum and it solves the issue. Looking forward to an update as a permanent fix!
Thanks! We will update here once we have a permanent fix.
Hi there,
I think I am having the same issue where the calendar strings are being displayed in Portuguese even though English is my default language and English is the only available language on the calendar page.
Hopefully, the fix will come soon.
Thanks
Hey there,
Please, let us know if the workaround works for you. If it does not, it may be a different issue. In that case, please open a ticket in our support forum for helping you better.
https://wpml.org/forums/forum/english-support/
Regards