Skip Navigation

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

Problem:
If you're experiencing issues with translating the 'Advanced Tab' widget in Elementor using WPML, where the translation is not displayed.
Solution:
We recommend following these steps to ensure proper translation:
1. Add the following XML code to WPML > Settings > Custom XML Configuration:


<widget name="raven-tabs">
  <fields-in-item items_of="tabs">
    <field type="Tab title" editor_type="LINE">tab_title</field>
    <field type="Tab content" editor_type="LINE">tab_content</field>
    <field type="Tab template ID" editor_type="LINE">tab_custom_template</field>
  </fields-in-item>
</widget>

2. After adding the code, edit the page where the widget is used, click on 'Update', and then update the translation.
3. Ensure to translate the template ID as well.
Note: Add the Advanced Tab widget to only one container. Adding it under a second container might cause the translation to not work properly.

If this solution does not resolve your issue, or if it seems 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 further assistance is needed, please open a new support ticket at WPML support forum.

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

Last updated by nicoleR-11 1 month, 1 week ago.

Assisted by: Long Nguyen.

Author Posts
October 3, 2024 at 1:43 am #16247741

nicoleR-11

Hi.

How do I do it with the Elementor widget ‘Advanced Tab’? With this Elementor widget, the translation is also not displayed.

Thanks for your help. Kind regards

October 3, 2024 at 1:45 am #16247743

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Here is the new ticket. Can you please replicate the issue with Advanced Tab widget on the sandbox site
hidden link

Let me know steps to replicate the issue. Thanks.

October 3, 2024 at 7:04 am #16248063

nicoleR-11

Hi
I replicated the issue:
1. Imported the three templates RTK Base, Laser Tracker and GPS with Abo into the sandbox.
2. I created a new page with Elementor.
3. I added a container.
4. I added "Advanced Tab" to the container.
5. I translated the three templates RTK Base, Laser Tracker and GPS with Abo
6. I added the templates into the "Advanced Tab" Widget: Items --> Content type = Template --> choose a template
7. I translated the page.
8. Publish
9. Check: translation not displayed

Regards, Nicole

Screenshot 2024-10-03 090340.png
Advanced-tab.png
October 3, 2024 at 9:24 am #16248503

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

I can translate the tab into German as well. The same steps as in the previous ticket:

1. Add the XML code below to WPML > Settings > Custom XML Configuration

<widget name="raven-tabs">
  <fields-in-item items_of="tabs">
    <field type="Tab title" editor_type="LINE">tab_title</field>
    <field type="Tab content" editor_type="LINE">tab_content</field>
    <field type="Tab template ID" editor_type="LINE">tab_custom_template</field>
  </fields-in-item>
</widget>

2. Edit the page > Click on Update > Update the translation.

3. Translate the template ID.

Another note, you should add the Advanced Tab widget to one Container only. If you add it under a second container, the translation might not work properly.

Looking forward to your reply.
Thanks

Test Seite Advanced Tab Übersetzung – Sandbox 2024-10-03 16-23-46.jpg
Edit
Advanced Translation Editor - WPML [Staging] 2024-10-03 14-45-24.png
Edit Template “SWOZI RTK” ‹ Sandbox — WordPress 2024-10-03 14-44-51.png
October 3, 2024 at 2:26 pm #16250676

nicoleR-11

Hi.
Thank you! Translating the menu has finally worked. Super. The same procedere for the Tabs did not work unfortunately.

Advanced Tabs: I have now added the code you specified to the WPML Custom XSL and then translated the string translations of the corresponding templates, as you have shown.
Now the tab headings are displayed translated, but the rest is not.
(The advanced tabs are only in one container each.)

Screenshot 2024-10-03 162453.png
Screenshot 2024-10-03 162542.png
AdvancedTab_only_one-container.png
October 4, 2024 at 1:16 am #16252247

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

After a ticket is resolved, all shared credentials will be removed, so please share the credentials again in this ticket, I will take a look. Your next reply is set to private to share the info.
❌ IMPORTANT: Please backup your database and website before proceeding ❌

Looking forward to your reply.
Thanks

October 4, 2024 at 8:37 am #16252916

nicoleR-11

Hi.
Now it works. It needed some time (approx. 30min) until the translation was visible. So I will close the ticket. Thank you for your help.
There is still an issue with the translation of the Jet forms. But for this I have to create a new ticket, haven't I?

October 4, 2024 at 8:38 am #16252917

nicoleR-11

Hi. Now it works. It needed some time (approx. 30min) until the translation was visible. So I will close the ticket. Thank you for your help.