Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 1 reply, has 1 voice.

Last updated by ryanS-32 9 hours, 55 minutes ago.

Assisted by: Osama Mersal.

Author Posts
December 5, 2024 at 4:28 am #16479130

ryanS-32

Background of the issue:
I have an Advanced Tabs widget on my site hidden link, which uses a Table widget for the Tabs content. I'm trying to translate this content to another language using WPML. I attempted to create Global templates for the Table widget, but it didn't work because it's still the same Table widget built into Elementor. I also tried using String Translations by adding myself as a Translator from English to French and vice versa. I found some French strings, added the English translation, saved everything, but it doesn't work. I clear my browser cache frequently and try different browsers. I added strings to the basket, sent strings to jobs, edited, and saved.

I attached 3 screenshots.
1) In one of the screenshots the content is in French, but the Original language is English. I guess something was done incorrectly here, but I'm not sure as I'm just picking up this project now from a Contract Developer who no longer works for us. Also, it says 'Waiting for translator' - I can't seem to get rid of this message.
2) In a second screenshot, you can see that I translated some strings. The difference in the screenshot between French and English is that French: 50,00$ the dollar sign is 'After' the amount.

UPDATE:
I was able to save the Tablet widget as a Global Template, I found the Template and was able to translate it successfully. The only issues with this, is that I'd have to create a Global Template for each Table (Tab content) and there are 13 of them. The second issue, is that for some reason the table Styles on the French page, changed from header color Green to Purple (I attached 2 screenshots for you to see), and the table style with the prices also changed and I have no idea why. When I go to edit the Globl Template it shows Green. P.S. This solution doesn't seem practical as I stated earlier.

Symptoms:
The translations for the Table widget content inside the Advanced Tabs widget are not working despite following various steps.

Questions:
Why are the translations for the Table widget content not working?
Is there a specific step I am missing in the translation process for Elementor widgets using WPML?

December 6, 2024 at 9:29 pm #16487647

ryanS-32

Anyone there?

December 8, 2024 at 10:53 am #16489546

Osama Mersal
Supporter

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.

First of all, sorry for the late reply; it was due to a higher workload.

I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

December 10, 2024 at 5:14 pm #16499825

Osama Mersal
Supporter

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

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

Hi Ryan,

Thanks for the access details. Please check the following steps:

1- Go to WPML-> Settings
2- Set the ElementsKit items (elementskit_content) post type as "Translatable" and save
3- Go to WPML > Translation Management
4- Select the "Elementskit item" post type and send the post related to the widget content to translation
5- Translate the post (On WPML > hidden link">Translations). Make sure to keep the same post title on the translation.

I created a hidden link">new test page with the same tab widget and translated it. Kindly check it and let me know if it works correctly.

Best regards,
Osama

December 10, 2024 at 9:08 pm #16500445

ryanS-32

Hi Osama,
I added all of the translations to my Basket, assigned myself as the Translator and translated of the text inside the Tables.
All of a sudden, all of the tab/table data is gone! And it says:
"Click on the Edit Content button to edit/add the content."
I didn't change the Post titles, I don't know what to do now.
Also I'm still not able to change the Tab Headings on the greenish bar.
Thank you.
Ryan

Screen Shot 2024-12-10 at 3.55.41 PM.png
Screen Shot 2024-12-10 at 4.02.29 PM.png
December 11, 2024 at 8:52 am #16502069

Osama Mersal
Supporter

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

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

Hi Ryan,

I checked the tabs on the staging site, but they are not translated, so it seems you translated them on the live site.

Please try reproducing the issue on the staging site so I can check it.

Also, please edit the translation of the tabs using the translation editor, and make sure to copy the title. (Kindly check the attached screenshot)

Best regards,
Osama

2024-12-11_10-51-20.png
December 11, 2024 at 4:11 pm #16504551

ryanS-32

Hi Osama,
Okay, I pushed the Live site to the Staging site so that you can see that I made all of the translations using the translation editor. Please see my previous message for the issues that I'm having. Thank you.

December 11, 2024 at 4:37 pm #16504703

Osama Mersal
Supporter

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

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

Hi Ryan,

1) You set the ElementsKit items as "Translatable - only show translated items", so only translated content will appear in English.

I translated the content in the "Solitude Cabin" tab, and it worked correctly. Kindly check this hidden link">video.

2) For the strings in the green bar, please try the following:

1- Delete the global widgets
2- Empty the templates' trash
3- Edit this hidden link">page using Elementor
4- Add the table
5- Make a minor edit and update it
6- Update its translation
7- Check the front end

Before doing it on the live site, kindly apply these steps to the staging site.

Best regards,
Osama

December 11, 2024 at 5:10 pm #16504754

ryanS-32

Hi Osama,
If I delete all of the translations, on the translations page, will this Delete all translations on my site? Also, what's the easiest way to find which tab, belongs to which dynamic-content-widget-ID ?

December 11, 2024 at 5:13 pm #16504789

ryanS-32

For example, I translated this Widget ID:
hidden link
But I don't see the changes and I purged the cache, so maybe this ID isn't being used?

December 11, 2024 at 5:19 pm #16504798

Osama Mersal
Supporter

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

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

Hi Ryan,

1) The translations listed on the WPML-> Translations page can't be deleted.

2) I'm not sure if that is the easiest way, but it's how I know the content ID. I edit the page using Elementor, edit the content, and click the gear icon to get the template name. Please check this hidden link">video.

Best regards,
Osama

December 11, 2024 at 5:30 pm #16504810

ryanS-32

Yeah, I can get the ID like that, I see that now. This ID: 2489cf4-5a2bc15
is being used for the English Page 'Room C3' tab, but I can't find it in the Translation Management page. Can you tell me if you can find it?

December 11, 2024 at 5:38 pm #16504826

Osama Mersal
Supporter

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

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

Hi,

The content used in room 3 is (dynamic-content-widget-24e9cf4-5a2bc15) and can be found in the translation management.

Best regards,
Osama

2024-12-11_19-37-23.png
December 11, 2024 at 5:58 pm #16505053

ryanS-32

Didn't realize you can filter by title, thank you so much!
I translated it and all is good. Last question, any idea why Room C2 and Room C4 are empty? Is there an easy way to get the data back, or do I have to create a new Advanced Tab again?