Skip Navigation

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

Problem:
You are working on a site under development and trying to translate sections of your Elementor pages using WPML. Some parts of your Elementor pages are not translating, and you are unable to get the XML file for translation.
Solution:
We recommend the following steps to resolve the issue:
1. Add the following XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config><elementor-widgets><widget name="bdt-switcher"><fields><field>switch_a_title</field><field>switch_b_title</field><field>element_pack_widget_tooltip_text</field><field>switch_a_content</field><field>switch_b_content</field></fields></widget><widget name="bdt-accordion"><fields><field>element_pack_widget_tooltip_text</field></fields><fields-in-item items_of="tabs"><field>tab_title</field><field>tab_content</field></fields-in-item></widget></elementor-widgets></wpml-config>

2. Make a small change in the default language page title to reload the translation and press the Update button.
3. Remove the change made in step 2 and press the Update button again.
4. Click on the secondary language icon to open up the page in Advanced Translation Editor and add the translation.
If the issue persists, you might need to implement a workaround for a known issue with Elementor tabs not displaying translated templates correctly. Follow the steps outlined in this errata: https://wpml.org/errata/exclusive-addons-elementor-tabs-widget-does-not-display-the-elementor-template-translation/
If these solutions do not resolve your issue or if they seem outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket at WPML support forum for further assistance.

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

Last updated by Noman 3 weeks, 3 days ago.

Assisted by: Noman.

Author Posts
September 30, 2024 at 12:14 pm #16236046

marcoL-85

Background of the issue:
I am working on a site under development and trying to translate sections of my Elementor pages using WPML. On the site hidden link, there is a section that will not translate. I have tried to get the XML file, but it didn't work.

Symptoms:
Some parts of my Elementor pages are not translated.

Questions:
Why is a section of my Elementor page not translating?
How can I successfully get the XML file for translation?

September 30, 2024 at 1:24 pm #16236405

marcoL-85

It didnt work, also the credits ran out and here is the page, i actually deleted every page before translating: hidden link

September 30, 2024 at 3:20 pm #16236954

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for replicating the issue at fresh WP site. I’ve followed the below steps:

1. Added the below XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <elementor-widgets>
    <widget name="bdt-switcher">
      <fields>
        <field>switch_a_title</field>
        <field>switch_b_title</field>
        <field>element_pack_widget_tooltip_text</field>
        <field>switch_a_content</field>
        <field>switch_b_content</field>
      </fields>
    </widget>
    <widget name="bdt-accordion">
      <fields>
        <field>element_pack_widget_tooltip_text</field>
      </fields>
      <fields-in-item items_of="tabs">
        <field>tab_title</field>
        <field>tab_content</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

2. Made a small change in the default language page title to reload the translation and pressed an Update button.

3. Removed that change that was made on step #2 and pressed an Update button.

4. Clicked on the secondary language icon to open up the page in Advanced Translation Editor and I’m able to add the translation as you can see in the attached screenshots.

Please let me know if this resolves the issue or if you need further assistance with this issue

Thank you for your cooperation

ATE - translation.png
October 3, 2024 at 4:34 am #16247839

marcoL-85

Hello, this code worked in some parts, on my website there is an advanced Icon box also in the accordion.

October 3, 2024 at 10:27 am #16249044

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Glad to hear it worked on some parts, Can you please add the problematic elements on this page: hidden link so that we can further debug this issue.

Thank you for your cooperation

October 10, 2024 at 12:45 pm #16275148

marcoL-85

Could you please send me another link, this one has expired.

October 10, 2024 at 4:15 pm #16276427

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Apologies for the inconvenience. The sandbox site expired after 7 days of inactivity. Here is the new auto-login URL to access the WP site and replicate the issue: hidden link

Thank you for your cooperation

October 14, 2024 at 11:05 am #16285429

marcoL-85

I will implement the widgets in a minute

October 14, 2024 at 11:30 am #16285600

marcoL-85

hidden link

here is the Link with the Page, where i put in the Widgets, i couldnt translate.
The Switcher has 2 Elementor Templates, which i also implemented in the backend, from my website. Hopefully u can resolve it now.

Thanks

October 15, 2024 at 6:37 am #16288703

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for replicating the issue at fresh WP site. I’m debugging the issue and get back to you with an update soon.

Thank you for your cooperation and patience

October 15, 2024 at 8:17 am #16289222

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

I’ve followed the below steps on the sandbox site:

1. Translated the Elementor templates in secondary language.
2. Added the below XML in WPML >> Settings > Custom XML Configuration section:

<wpml-config>
  <elementor-widgets>
    <widget name="bdt-switcher">
      <fields>
        <field>switch_a_title</field>
        <field>template_id_a</field>
        <field>switch_b_title</field>
        <field>template_id_b</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

3. Added the below code in functions.php file to make the Elementor template IDs available for translation:

add_filter( 'wpml_tm_job_field_is_translatable', '__return_true' ); 

4. Translated the pages including Elementor ID’s as you can see in the attached screenshot but the translated template not loading at frontend.

I’ve noticed that the “Element Pack Pro” is not compatible with WPML as you can see here:
https://wpml.org/plugin/element-pack-pro/

As a solution, you can consider:
1. Disable the WPML Translation Editor from that particular page and translate the page manually by following this doc: https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

2. You may ask the Element Pack Pro plugin author about this issue: hidden link they may already have a fix for it so that it will work fine with WPML.

3. Try to use another WPML Translation Editor compatible Elementor add-on from this list: https://wpml.org/plugin-functionality/page-builders-addons/elementor-add-ons/

Please let me know if this resolves the issue or if you need further assistance with this issue.

Thank you for your understanding

Template ID translation.png
October 17, 2024 at 9:21 am #16299146

marcoL-85

1. I need to edit the Page with Elementor, obviously this wont work. 2. I asked, but how should that be a solution. 3. Other Plugins have similar issues, like with exklusive Addons, it wont translate, I even changed the Template, which had only basic Elementor widgets.
I have tried to change the php file of exklusive Addons, just like on one of your Support sites, now i have an Error.

This must be fixxed!

How does it take you this long to give me a proper solution for the problem?

October 17, 2024 at 4:14 pm #16301454

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for your message. I understand your frustration, and I truly appreciate your patience.

- Please note that making any external plugin fully compatible with WPML requires collaboration between the plugin author and WPML’s compatibility team. We can only progress so far without their involvement.

- It seems you have tried using Exclusive Addons for Elementor instead of Element Pack Pro and also applied the workaround from this errata page:
https://wpml.org/errata/exclusive-addons-elementor-tabs-widget-does-not-display-the-elementor-template-translation/, but the issue still persists.

- If that's the case, could you please replicate the issue on our sandbox site:
hidden link
This will help us escalate it to the compatibility team and investigate further.

Thank you for your cooperation and understanding. We’re here to resolve this as quickly as possible.

October 18, 2024 at 8:43 am #16303315

marcoL-85

I did

October 20, 2024 at 5:50 am #16307969

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sorry for the delay, I was off during the weekend (Friday-Saturday). Thanks for replicating it using Exclusive Addons for Elementor plugin. I’m debugging this issue on Sanbox site and will get back with an update soon.

Thank you for your cooperation