Waiting for author
Overview of the issue
If you are using The Events Calendar with the Event Tickets plugin, you may find that payment gateways are not displayed on the checkout page of secondary languages.
Workaround
Please, make sure of having a full site backup of your site before proceeding.
- Open your theme’s functions.php file.
- Add the following code:
/** * Translate page ID for WPML. * * @link wpmlsupp-11347 * @param mixed $page_id * @return mixed */ function wpmlsupp_11347_translate_page_id( $page_id ) { return apply_filters( 'wpml_object_id', $page_id, 'page', true ); } add_filter('tec_tickets_commerce_checkout_page_id', 'wpmlsupp_11347_translate_page_id'); add_filter('tec_tickets_commerce_success_page_id', 'wpmlsupp_11347_translate_page_id');
Dear WPML Team,
I proceeded as proposed above but still the ticketing is not translated and available in the other language versions:
Orginal:
https://dejayou.de/en/events/
Translated:
https://dejayou.de/events/
https://dejayou.de/es/events/
Do you know why?
Best
Nadim
Hello Nadim,
The issue here described is different from what you are reporting. In that case, I recommend you to open a chat in our assistance channel, in that way, one of our specialists will investigate your case.
Regards