This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to translate an email template using WPML, but the plugin used for the email templates is not compatible with WPML.
Solution:
We recommend contacting the plugin author to encourage them to join our Go Global program. Meanwhile, you can try the following workaround:
1. Open the file at
.../wp-content/plugins/tour-booking-manager/templates/ticket/book_now.php
.
2. Locate line 6.
3. Replace the existing code:
$tour_id=$tour_id??TTBM_Function::post_id_multi_language($ttbm_post_id);
with:
$tour_id=$tour_id??TTBM_Function::post_id_multi_language($ttbm_post_id); $tour_id = apply_filters( 'wpml_object_id', $tour_id, 'product' );
If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at WPML support forum.
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.
This topic contains 4 replies, has 2 voices.
Last updated by 6 months, 2 weeks ago.
Assisted by: Shekhar Bhandari.