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 thread is resolved. Here is a description of the problem and solution.

Problem:
User was using a youtube video in a divi video module. But he could not translate it in the Translation Editor
Solution:
When using a youtube video the divi module is storing the url as attribute "src" of the shortcode.
Addapt Divi XML configuration to add src attribute to the et_bp_video shortcode around line 329 from https://github.com/OnTheGoSystems/wpml-config/blob/master/Divi/wpml-config.xml


<attribute>src</attribute>

Relevant Documentation:

This topic contains 4 replies, has 3 voices.

Last updated by Jamal 5 months, 3 weeks ago.

Assigned support staff: Jamal.

Author Posts
February 5, 2019 at 8:46 am #3160725

marcusH-9

Hi Jamal.

Concerning the Video, i'd like you to have a look at hidden link - Your credentials are the same as for the troubleshoot.phytholistic.com-Page. Here, we have a Video-Element on the Home-Page that doesn't seem to appear in the Media-Translation at all. It apparantly cannot be adressed using String-Translation either. This one might be tricky, as it's basically just a wrapper for displaying an external YouTube-Video. Any ideas on that one?

February 5, 2019 at 8:53 am #3160772

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello,

I have updated the XML configuration in WPML->Settings->Custom XML Configuration and added this line to shortcode et_pb_video around line 329


 <attribute>src</attribute>

The url is now visible in the translation editor. See attached image.
I remain at your disposal.

Best regards,
Jamal
WPML Support

February 5, 2019 at 4:42 pm #3162913

marcusH-9

My issue is resolved now. Thank you!

April 23, 2019 at 9:42 am #3661461

pbraun

Hello,

I'm facing same issue. I've added this line of code

<shortcode>
            <tag>et_pb_video</tag>
            <attributes>
                <attribute>image_src</attribute>
                <attribute>background_image</attribute>
                <attribute>src</attribute>
            </attributes>
  </shortcode>

with not luck. Tried with et_pb_video_box as well.
Can you help me get this module translatable in the editor please ?

Site : hidden link

April 23, 2019 at 10:13 am #3661759

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello @pbraun,

Please create a new ticket and we will help you with that.

Best regards,
Jamal