[Resolved] I don't know how to translate custom excerpt
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to translate the custom excerpt using the TRAVEL TOUR theme by Goodlayers.
Solution: We identified that the custom XML configuration code in the plugin did not register the custom excerpt for translation. The existing code in
/wp-content/plugins/tourmaster/wpml-config.xml
was missing the necessary entries. To resolve this, we provided the following XML configuration to be added to WPML > Settings > Custom XML Configuration tab:
After adding this code, the client should edit the tour, make a small change to the tour content, save, and then update the translation. For further guidance, we referred to the documentation on custom fields translation options.
If this solution does not seem relevant to your issue, please do not hesitate to open a new support ticket in our 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.
The first picture shows you what ins not translated (that stays in French that is the language from which the site is made and translated, then to English and German)
The seond picture shows you where to go from the templates
And the third picture shows you what needs to be translated, and that I can't find a way
(Well, it seems that the pictures appeared in the opposite order when I loaded them, i guess you'll guess!!)
Thanks for your help
Cordially
Alain
I tried some troubleshooting steps to translate the custom excerpt field but it doesn't work. The theme "TravelTour" is not available in our list of compatible themes, which you can check here https://wpml.org/theme/
So it could be a compatibility issue between this theme and WPML. Please help me to replicate the issue on a clean installation of WordPress. With this link, you can login directly to the admin area. hidden link
Kindly follow the steps below:
- Don’t restore your site there.
- Install the TravelTour theme and necessary addon plugins.
- Try to replicate the issue.
- Then let me know the steps to replicate it.
This will help us to report the issue to the compatibility team and solve this faster.
Hi I installed traveltour, my question is how to translate this custom excerpt.
hidden link
Go to any tour, click sur edit, then scroll down until Tour settings, in tour settings, you will find the following menu with
GENERAL - TOUR SETTINGS - DATE & PRICE - URGENCY MESSAGE - REMINDER & MESSAGE, click on tour settings again, and then scroll down until Custom Excerpt
On the sandbox site, I see the custom excerpt is translatable and available in the Advanced Translation Editor as well. Please check the screenshot attached.
On your site, I suggest you follow steps below and see if it helps:
1. Enable a minimal environment: Deactivate all plugins except WPML and Tour Master plugin.
2. Edit a tour > Make small change to the excerpt > Save > Update the translation.
❌ IMPORTANT: Please backup your database and website before proceeding ❌
After updating the tour post, you can see the circle arrows in the Languages box to update the translation, please check the screenshot attached.
If you use the Translate Everything Automatically mode (setup in WPML > Settings), the tour is translated automatically.
Maybe i failed in something but I did all what you asked, deactivating all the plugins except wpml and tour master, then saved and then updated the translation, but I don't see any change !
So sorry ;-(
So the issue is specifically on your site. Please share a backup file of your site, I will restore it on my demo site and investigate the issue. Or you can copy your live site to a staging site and share the credentials with me. Your next reply is set to private to share the info.
After restoring your site on my local host, I found the issue. The custom XML configuration code in the plugin doesn't register the custom excerpt for translation. Here is the current code:
you can find it in the file /wp-content/plugins/tourmaster/wpml-config.xml
I fix the issue by adding the code below to WPML > Settings > Custom XML Configuration tab to register all subfields of the custom field "tourmaster-tour-option".
Thank you for your solution that, according to your words seems to work.
I did everything you asked me to do.
But unfortunately and I'm so sorry for being nul, I don't know how to get to the screenshot you sent. What is the way to go there ?
Also, I still didn't find how to translate the footers, and some widgets.
Well, everything is quite complicated to me
Cordially
Alain
New threads created by Long Nguyen and linked to this one are listed below:
This is Waqas, I'll be taking care of the issue until Long is on vacation (this week).
I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.
Your next answer will be private, to share this information safely.
Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend.
IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.