This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing difficulty translating texts and associating images with text in the banner box option of WPBakery using WPML.
Solution:
1. Ensure you have a custom language configuration for WPBakery elements in WPML. This involves adding specific XML configurations in WPML>>Settings>>Custom XML Configuration. For more details, refer to the documentation on building multilingual sites with WPBakery and WPML and registering page builder content for translation. 2. Add the following XML configuration to enable translation for the banner elements:
3. After updating the XML configuration, make a minor edit to the Homepage to refresh the translation settings, then update the translation. Remember to back up your site first and clear all caches after updating. 4. To translate the Image ID, add the following line to the functions.php file of your child theme:
Then, update the Homepage, translate the Image ID values with its French ID, and save the changes.
If this solution does not resolve your issue or seems outdated, we 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 the problem persists, please open a new support ticket.
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.
Background of the issue:
I'm trying to translate texts in the banner box option of WPBakery on my site hidden link. I also tried to associate images with text in the translation. I know that you have a list of translatable items, but do you have an ETA on banners?
Symptoms:
Difficulty in translating texts and associating images with text in WPBakery using WPML.
Questions:
How can I translate texts in the banner box option of WPBakery? How do I associate images with text in the translation using WPML?
When using custom WPBakery elements, a missing custom language configuration might cause the texts to not appear for translation (in WPML>>Settings>>Custom XML Configuration). This configuration needs to be added. Refer to the following links for more details. Please try and let us know your feedback.
Thank you for the updates. A couple of requests for tracking the issue.
1) Please share the URL of the page having the issue.
2) Please fill the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.
Thank you for the details and login information. I have added language configuration for these fields in WPML>>Settings>>Custom XML Configuration - hidden link
Thanks for the update! I have made the steps you told me and I got everything translatable except the images. Since the image have text embed in the webp image I need to have two versions of the image, one in english and the other in french.
So when the website is in english, the english (default version) is loaded. But when the user opt for translated version in french that image needs to be replaced by the one in french. Is there a linecode missing in the XML?
I don't see where can I change the image in the translations
On my first essay, I was trying to uploade the french version by switching the language on the header of wordpress. But now I have uploaded all the images from the media translation and do a complete cache purge. But the english image version still loads on the french pages.
I will try to delete them all and then re-upload them again, unless you have another solution?
Thank you for the updates. Please create a page for testing with a couple of banners. Then translate those banner images from WPML>>Media Translation, and also translate the page. After that make sure you are getting the expected results or not.
Thank you very much Bigul! I am making progress all because of you 🙂
Where could I find the french image ID ? When I upload them via the media translator they don't appear in the media library since they are uploaded directly from my computer. Do I have to reuploaded them into the library?
New threads created by Bigul and linked to this one are listed below:
Thank you for the feedback. I have added a new ticket for the easy follow-up of our discussion related to Media Translation. It will help us to avoid discussing multiple things in a single ticket. Thank you for your kind understanding.