This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're unable to translate the text of your homepage images, even though caption translation is activated and if using Avada image carousel widget.
Solution:
We recommend you follow these steps:
1. Navigate to WPML > Settings > Custom XML Configuration.
2. Add the following code:
<wpml-config> <shortcodes> <shortcode> <tag>fusion_image</tag> <attributes> <attribute type="link">link</attribute> <attribute>alt</attribute> <attribute>image_title</attribute> <attribute>image_caption</attribute> <attribute type="media-url">image</attribute> </attributes> </shortcode> </shortcodes> </wpml-config>
3. Make a small change to the default language page and save.
4. Re-translate the page.
After these steps, the image title and caption should be available for translation.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue 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.
This topic is split from https://wpml.org/forums/forum/english-support/
Tagged: Exception
This topic contains 18 replies, has 2 voices.
Last updated by veronicaA-10 9 months, 1 week ago.
Assisted by: Dražen Duvnjak.
Author | Posts |
---|---|
January 11, 2024 at 7:29 am #15172354 | |
veronicaA-10 |
Why I can't translate the text of my homepage images? Caption's translation has been activated. |
January 11, 2024 at 7:38 am #15172366 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, it depends how there image have been added. 1) Can you please share URL to the page where I can see image? 2) Make sure you have enabled "Translate media library texts with posts" from WPML > Settings > Media 3) Make a small change to the default language post, save and re-translate. Does image text show up? Thanks, |
January 11, 2024 at 9:10 am #15172928 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks, I have marked your reply as private. I am not sure how are you adding this, if it is an image caption, you can try to go to Media Library > All and from the top language bar switch to 2nd language. Find your image and add translated text/caption. Please try. Regards, |
January 11, 2024 at 9:27 am #15173050 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks. Ahh, okay so it is not an image caption, but text in the Avada image module. 1) Please try to search for the text in the ATE editor as explained: 2) If the issue still happens, it might be a compatibility issue with Avada. I created a test site. To speed things up, can you please go there install Avada, and add the same image module so I can test it out further or escalate it. Website: hidden link let me know how it goes and if you need help. Regards, |
January 11, 2024 at 10:11 am #15173285 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, sure, sounds good. Let me know. Thanks, |
January 14, 2024 at 1:06 pm #15182370 | |
veronicaA-10 |
Pls keep this open |
January 15, 2024 at 7:27 am #15183153 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, sure, the ticket is open for about 2 weeks and you will get a few notification before it is closed. Regards, |
January 18, 2024 at 3:33 pm #15200976 | |
veronicaA-10 |
Avada without Avada Core and Avada Builder doesn't work. The upload went wrong. Can you install them, or should I delete them from the FTP, and we'll try again? Thank you |
January 19, 2024 at 8:11 am #15203217 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back. Sure, I have created new test site with Avada theme and plugins. Please check and let me know how it goes: - hidden link Regards, |
January 22, 2024 at 9:07 am #15209977 | |
veronicaA-10 |
Hi, I have upload the carousel, please check it out. |
January 22, 2024 at 10:54 am #15210626 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks, I checked and managed to fix it. Please follow the next steps: - Please go to WPML > Settings > Custom XML configuration and add the next code: <wpml-config> <shortcodes> <shortcode> <tag>fusion_image</tag> <attributes> <attribute type="link">link</attribute> <attribute>alt</attribute> <attribute>image_title</attribute> <attribute>image_caption</attribute> <attribute type="media-url">image</attribute> </attributes> </shortcode> </shortcodes> </wpml-config> - Make a small change to the default language page and save Regards, |
January 22, 2024 at 12:47 pm #15211386 | |
veronicaA-10 |
in custom xml i already have this code: <wpml-config> When I tried to add your code, gave this error: Line: 13, Column: 1 |
January 22, 2024 at 12:50 pm #15211398 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, then you just need to add a new shortcode part, so it will look like this: <wpml-config> <shortcodes> <shortcode> <tag>fusion_imageframe</tag> <attributes> <attribute>caption_title</attribute> <attribute>caption_text</attribute> </attributes> </shortcode> <shortcode> <tag>fusion_image</tag> <attributes> <attribute type="link">link</attribute> <attribute>alt</attribute> <attribute>image_title</attribute> <attribute>image_caption</attribute> <attribute type="media-url">image</attribute> </attributes> </shortcode> </shortcodes> </wpml-config> Regards, |
January 23, 2024 at 4:28 pm #15218257 | |
veronicaA-10 |
Still need assistance, i cant translate. |
January 24, 2024 at 7:45 am #15220009 | |
Dražen Duvnjak Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, can you please be a bit more informative, what happens? Have you added the mentioned coude from above to your Custom XML and then made a small change to the default language page title, saved? Then re-translated page? Let me know. Thanks, |