Skip Navigation

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

Problem:

We are using the Elementor video playlist element to play Vimeo videos. When you go to translation, the playlist URL shows the youtube URL. Even the label for that URL input of the original is "Video Playlist: Youtube URL". After adding the Vimeo URL, when you go to the page, it is still playing English videos instead of French videos.

Solution:

I've checked the issue and was able to fix it by adding the following code to the WPML-> Settings-> Custom XML tab.

<wpml-config>
  <elementor-widgets>
    <widget name="video-playlist">
      <fields>
        <field>inner_tab_title_1</field>
        <field>inner_tab_title_2</field>
        <field>inner_tab_label_show_more</field>
        <field>nner_tab_label_show_less</field>
        <field>playlist_title</field>
      </fields>
      <fields-in-item items_of="tabs">
        <field>title</field>
        <field>youtube_url</field>
        <field>vimeo_url</field>
        <field>inner_tab_content_2</field>
        <field>inner_tab_content_1</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

Relevant Documentation:

https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/

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 trilogenT 1 year, 10 months ago.

Assisted by: Osama Mersal.

Author Posts
May 19, 2023 at 2:47 pm #13680321

trilogenT

We are using elementor video playlist element to play vimeo videos. When you go translation, the playlist url is showing youtube url. Evan the label for that url input of the original is "Video Playlist: Youtube URL". After adding vimeo url, when you go to the page it is still playing English videos instead of French video.

screen shot.png
May 21, 2023 at 9:36 am #13684129

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

1) Would you please login to this sandbox site and install Elementor? (hidden link)

After that, please create a test page using this element and translate it. If the issue is replicable, please let me know how to reproduce it.

2) Could you please share your Debug information with me?
You can read a detailed explanation about it here. (http://wpml.org/faq/provide-debug-information-faster-support)
The debug info will give me a lot of information about how your site is configured.

Best regards,
Osama

May 23, 2023 at 2:30 pm #13700449

trilogenT

I have installed elementor on the sandbox you gave me but unfortunately to use the video playlist it has to be pro version. I can also give you access to out sandbox site if you are ok with that

May 24, 2023 at 5:13 am #13704033

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. I've installed Elementor Pro on the sandbox site, please check if you will be able to replicate the issue.

Best regards,
Osama

May 24, 2023 at 1:38 pm #13708057

trilogenT

Hi,

I have been able to replicate on sandbox. In elementor editor I am using vimeo video but in wpml translation, it appears as youtub video. Also I have provided French vimeo video in translation but on French page it is still playing English video.

Thanks

May 24, 2023 at 1:51 pm #13708183

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for replicating the issue. I've checked the issue and was able to fix it by adding the following code to the WPML-> Settings-> Custom XML tab.

<wpml-config>
  <elementor-widgets>
    <widget name="video-playlist">
      <fields>
        <field>inner_tab_title_1</field>
        <field>inner_tab_title_2</field>
        <field>inner_tab_label_show_more</field>
        <field>nner_tab_label_show_less</field>
        <field>playlist_title</field>
      </fields>
      <fields-in-item items_of="tabs">
        <field>title</field>
        <field>youtube_url</field>
        <field>vimeo_url</field>
        <field>inner_tab_content_2</field>
        <field>inner_tab_content_1</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

After that, I updated the page in the default language and its translation. Please check the page on the sandbox site and let me know if it works correctly. (hidden link)

Kindly check our guide to know more about registering page builder widgets. (https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/)

I hope this helps you. If you need further info, please let me know.

Best regards,
Osama