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 1 reply, has 2 voices.

Last updated by Lauren 2 months ago.

Assigned support staff: Lauren.

Author Posts
August 15, 2019 at 8:36 am #4399561

garyC-12

So basically, I'm using the DIVI theme and I would like to show different youtube videos for the different languages.

I'm using the Divi video module and which is pulling the video from youtube.

Is this feature possible?

August 15, 2019 at 1:06 pm #4400961

Lauren
Supporter

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thank you for contacting WPML support. I'll be happy to help you with this.

Please reference this ticket: https://wpml.org/forums/topic/divi-et_pb_video-not-translating-youtube-video/

You can add the following to WPML -> Settings -> Custom XML Configuration. Then update the original video url (resave it) and then it should display in translation editor where you can update the URL for the translated video.

<wpml-config>
<shortcodes>
<shortcode>
            <tag>et_pb_video</tag>
            <attributes>
                <attribute>image_src</attribute>
                <attribute>background_image</attribute>
                <attribute>src</attribute>
            </attributes>
  </shortcode>
</shortcodes>
</wpml-config>

Please let me know if you need any further assistance and I will be happy to help.