Overview of the Issue
When using FooEvents for WooCommerce with WPML, a translated event loses its directions, event details text, tab title, ticket text, thank-you text and ticket email subject, and it shows the venue in the default language.
Workaround
- Go to WPMLSettingsCustom XML Configuration, add the following XML and save:
XML
<wpml-config> <custom-fields> <custom-field action="translate">WooCommerceEventsLocation</custom-field> <custom-field action="translate">WooCommerceEventsDirections</custom-field> <custom-field action="translate">WooCommerceEventsEventDetailsText</custom-field> <custom-field action="translate">WooCommerceEventsEventDetailsOverride</custom-field> <custom-field action="translate">WooCommerceEventsTicketText</custom-field> <custom-field action="translate">WooCommerceEventsThankYouText</custom-field> <custom-field action="translate">WooCommerceEventsEmailSubjectSingle</custom-field> </custom-fields> </wpml-config>
- Translate the event products again.