Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
Media translation does not work in Divi builder

Solution:
Apply the workaround from the erratum linked next.

Relevant Documentation:
https://wpml.org/errata/after-wpml-4-5-9-media-translation-does-not-translate-images-from-page-builders/

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.

Tagged: 

This topic contains 19 replies, has 2 voices.

Last updated by Silvia Mancini 1 year, 8 months ago.

Assisted by: Subash Chandra Poudel.

Author Posts
September 12, 2022 at 9:54 am #12032675

Silvia Mancini

Hi there, if i change in the media transltion the name of the image for the english version, then on line (after cleaning cache ecc) the name of the image is not changing on the english version. see the attached files thanks

Schermata 2022-09-12 alle 11.49.23.png
Schermata 2022-09-12 alle 11.49.05.png
September 12, 2022 at 12:30 pm #12034009

Silvia Mancini

HI there do you have any ideas? about the problem?

September 12, 2022 at 2:01 pm #12034805

Silvia Mancini

there is a way to opena a chat with you? thank you

September 13, 2022 at 11:30 am #12042341

Subash Chandra Poudel

Hi there,

When you translate a media from WPML -> Media translation it does not automatically replace the media already inserted on pages and posts on the site. Can you please try the following and see how it goes:

- Make sure you have translated the media from WPML -> Media translation.

- Edit the page with the issue in the primary language and update the page by adding an extra space in the title or content so that a translation update is triggered.

- Edit the translation and complete it.

This should fix the issue. If the issue persists, I would need to take a closer look at your site.

Would you please mind sending a temporary access (WP-Admin and FTP) of your site preferably to a test site where the problem has been replicated, along with details on which page and URL I can see the issue on?

Your next answer will be private, which means only you and I have access to it.

IMPORTANT: Please take a complete backup of the site to avoid data loss.

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

Regards,
Subash

September 13, 2022 at 1:12 pm #12043419

Silvia Mancini

Hi Subash,
unfortunatly the issue is not solved so i need your help:

here is the page where the image WIT:
hidden link

i have translate the name using wpml translation see image attached.

Here you have the wp-admin access for the test:

[REMOVED BY SUPPORT]

hope you fix it.
let me know.
Thank you
SJ

Schermata 2022-09-13 alle 15.05.51.png
September 13, 2022 at 1:36 pm #12043635

Subash Chandra Poudel

Hi there,

Thank you for the details.

However, I have removed the sensitive information from your previous reply as this is a public forum and you should share such information only through a private reply.

I have enabled a private reply for you again to share the credentials safely.

Regards,
Subash

September 13, 2022 at 4:19 pm #12045701

Subash Chandra Poudel

Hi there,

Thank you for the details. I can see the issue and can replicate it on a test page too.

Do you have a staging site on the same server where we can test deactivating plugins or theme to confirm where the issue is coming from? If yes, please provide the login details for the staging site.

If not, can you please use a plugin like Duplicator ( https://wordpress.org/plugins/duplicator/ ) to create a copy of your site and provide me the link to download the site so that I can test the issue further at my end as explained in the next link:

https://wpml.org/faq/provide-supporters-copy-site/

I have enabled a private reply for you to share the details safely.

Regards,
Subash

September 14, 2022 at 10:37 am #12050231

Subash Chandra Poudel

Hi there,

Thank you for the details.

After further troubleshooting, I found the issue is due to the custom XML code you have in your WPML -> Settings -> Custom XML Configuration page.

In the code you have this part:

<shortcode>
      <tag>et_pb_image</tag>
      <attributes>
        <attribute>src</attribute>
      </attributes>
    </shortcode>

I updated that part to the following:

<shortcode>
      <tag>et_pb_image</tag>
      <attributes>
        <attribute>src</attribute>
        <attribute>title_text</attribute>
        <attribute>alt</attribute>
      </attributes>
    </shortcode>

And you can now translate the Image title normally when translating the page.

Regards,
Subash

September 14, 2022 at 1:01 pm #12052003

Silvia Mancini

Hi Subash, thank you for your support but unfortunately the problem is stil here, so i share with you my last check, i have create a new test page in italian called:
hidden link
then to translate the image i go here (1.png) then i translate the page in english (2.png)
if i checht the media file in english the image is correctly updated see here (3.png - 3a.png)
but then on line the image is the italian one...
hidden link
so...

3a.png
3.png
2.png
1.png
September 14, 2022 at 3:40 pm #12053493

Silvia Mancini

Sorry Subash, i have had to delete that page OF the example. the new page is called
hidden link (i became crazy...why WPML became so complicated?)
so same method
i create a new page, with different image in the two pages, A for Italian page e B for english.
WPML media translate - then go into the page in italian press the "+" button e save.
but the B images is not displayed can you help please????

Schermata 2022-09-14 alle 17.36.28.png
Schermata 2022-09-14 alle 17.31.10.png
September 14, 2022 at 3:48 pm #12053563

Silvia Mancini

ALSO HAVE ALWAYS this alert

Schermata 2022-09-14 alle 17.48.07.png
September 14, 2022 at 3:49 pm #12053587

Silvia Mancini

can we please have a chat with you? the client start to be nervous! thank you so much

September 14, 2022 at 5:39 pm #12054313

Subash Chandra Poudel

Hi there,

Sorry for the issues you are having.

I test the issue further on your Staging site and I can replicate the issue there.

I have now escalated the issue to our 2'nd tier team for further troubleshooting.

I will send you an update here as soon as we have an update.

Regards,
Subash

September 14, 2022 at 6:03 pm #12054369

Silvia Mancini

Hi there, thank you so much. Maybe the best way is to work directly also on the site on line what do you think?
Grazie i hope we solve it!

September 15, 2022 at 8:53 am #12057373

Subash Chandra Poudel

Hi there,

I was able to replicate this issue on a clean site so I have escalated the issue with reference to a test site on our server. I will send you an update here as soon as we have an update from the team.

You can continue using your live or staging site as you like in the meantime.

Regards,
Subash

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.