Skip Navigation

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

Problem:
I am trying to update the YouTube video link in English with the Spanish version in the translation editor but it's not added there.

Solution:
The video module from Divi wasn't registered for translation. To make the video link available for translation, please add this code to WPML > Settings > Custom XML configuration:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag ignore-content="1">et_pb_video</tag>
      <attributes>
        <attribute type="link">src</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

Then make a minor change to the original page with the video module and update the translation.

Relevant Documentation:
https://wpml.org/documentation/support/maintaining-divi-builder-compatibility-wpml/

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 6 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 5 months ago.

Assisted by: Mohamed Sayed.

Author Posts
November 27, 2023 at 3:35 am #14926207

brianB-19

I am trying to update the YouTube video link in English with the Spanish version in the translation editor but searching for the URL is not locating the link.

November 27, 2023 at 6:15 pm #14933737

Mohamed Sayed

Hi Brian,
Thanks for contacting WPML support.

Could you please try the following steps and let me know if that helps?

1- Go to WPML-> Theme and plugins localization, select the theme/plugin you use to add the link and scan it
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the link
5- Select the string
6- Click on the "Add to String Translation" button
7- Then click on "the « Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check this guide for more details: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Kind regards,
Mohamed

November 28, 2023 at 6:29 pm #14943547
brianB-19

I followed the steps outlined but WPML is still not finding the three video links that need to be translated on this page: hidden link. Of further issue on this page, the media files that have been translated are not being displayed on the Spanish version of the page in the Owl image carousel. This carousel plugin works fine on other pages.

New threads created by Mohamed Sayed and linked to this one are listed below:

https://wpml.org/forums/topic/split-translating-owl-image-carousel/

November 29, 2023 at 9:28 am #14947953

Mohamed Sayed

Hi,

1. I would need to request temporary access (WP-Admin) so I can investigate this issue further.
– preferably to a test site where the problem has been replicated if possible –

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

❌ Please backup your database and website before providing us with access details ❌

If you don't see the form below, please don't add your credentials as they will be publicly exposed:
hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

2. For better support, we handle one issue per ticket so I've created a new ticket for the other issue you mentioned. We will continue the discussion here: https://wpml.org/forums/topic/split-translating-owl-image-carousel/

Thanks for your cooperation

November 30, 2023 at 9:28 am #14959993

Mohamed Sayed

Hi,

The video module from Divi wasn't registered for translation. To make the video link available for translation, I added this code to WPML > Settings > Custom XML configuration:

<wpml-config>
  <shortcodes>
    <shortcode>
      <tag ignore-content="1">et_pb_video</tag>
      <attributes>
        <attribute type="link">src</attribute>
      </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

Then made a minor change to the original page with the video module and updated the translation.

Please edit the translation with the WPML translation editor and search for "http", then you'll see a list of the links added to this page: hidden link

Kind regards,
Mohamed

December 1, 2023 at 8:27 pm #14975671

brianB-19

Thank you, I was finally able to get the video URLs to load on search in the translator. Please note that the screenshot link you sent goes to a broken link. I attempted to load it in several browsers and on my phone and it still didn't work. I have noticed issues with Lightshot in the past few months not loading images properly. You may want to consider a different tool.

Screen Shot 2023-12-01 at 11.45.41 AM.png
December 3, 2023 at 2:18 pm #14980149

Mohamed Sayed

I'm glad to hear that you're able to translate the video links now.

Thanks for letting me know about the screenshot issue, I will make sure to use a different tool.