Skip Navigation

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

Problem:
You are trying to translate Elementor templates using WPML, but automatic translations are stuck, and errors appear. Instead of pencils, gear icons are displayed in the translation interface, and templates remain untranslated even after completing the automatic translation.
Solution:
The issue might be due to a cache feature introduced by Elementor that conflicts with WPML. We have documented this problem and provided a workaround:
Elementor translated pages show stale content after being updated
To resolve this, follow these steps:
- Navigate to

Elementor > Settings > Performance

page.
- Disable the Elementor cache.

If this solution does not apply to your case, or if it seems outdated, 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. Should you need further assistance, 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.

This topic contains 6 replies, has 2 voices.

Last updated by Christopher Amirian 1 month, 3 weeks ago.

Assisted by: Christopher Amirian.

Author Posts
October 3, 2024 at 11:49 am

keesd-7

Background of the issue:
I am trying to translate Elementor templates using WPML, but automatic translations keep getting stuck. I have tried different templates and widgets, including the Archive template for blog posts and popups. I even reset the whole language setup by deleting everything and starting from scratch. The issue can be seen on this page: hidden link.

Symptoms:
Automatic translations are stuck, and I am always getting errors. Instead of pencils, I see gear icons. Templates are not translated even though I completed the automatic translation in the advanced translation window.

Questions:
Why are my Elementor templates not translating automatically?
What causes the gear icons to appear instead of pencils in the translation interface?

October 3, 2024 at 12:44 pm
October 3, 2024 at 1:01 pm #16250145

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The site migration is finished and you can access sthe website with the same login information here:

hidden link

The problem still exists on our server.

Upon troubleshooting I found out if I change the theme the menu is not available at all.

It seems that you use your theme to call the Elementor template and that might be the culprit.

May I know where you call the pop up template on our theme?

Do you use shortcode? If so you should consider that the:

[elementor-template id="437"]

shortcode is Dutch version and the English version shortcode will be:

[elementor-template id="2173"]

Thanks.

October 3, 2024 at 1:25 pm #16250305

keesd-7

Hi Christopher,

I found something interesting.

I managed to fix the actual problem by looking for the 'header' template. The Dutch version calls for menu-overlay (Dutch), the English version also calls for menu-overlay (Dutch) instead of menu-overlay (English). I changed the English header template manually to call for the English menu-overlay popup.

So now the questions remain; how and where would I know a seperate version of a template exists and not a (simple) automatic translation? Plus the issue remains; when there is a seperate version for the English language and I update the Dutch version afterwards -> click on update the translation -> It does not change the English version. It keeps showing the old version. Hence the fact we were in a loop, not knowing why the new version would not load.

Hope this helps.

October 4, 2024 at 11:37 am #16253860

keesd-7

Alright, so more information regarding the issue. The automatic translation does work for everything in the backend. For every first (when there is no translation) translation the page/post is created and the automatic translation works. But as soon as you make an adjustment to a page/post and update language - by clicking the gear or refresh icon - the changes are not pushed to frontend. They are only displayed in the backend.

Only, and only if, the user edits the page/post in Elementor - in the automatically translated language (in my case English) - the page is being pushed to frontend.

So the user will always have to edit the actual post/page, in Elementor, in every language to make changes to the frontend. When you automatically translate via the advanced editor it does not push to frontend, it shows either the first version ever created or the most recent version edited and saved in Elementor.

October 6, 2024 at 11:43 am #16257885

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi sorry for my late reply, it was my weekend.

Thank you for the detailed description. So this seems that the issue must be some sort of cache but I am not sure what it might be.

I wanted to continue the troubleshooting on the copied website, but unfortunately the login information is deleted in the ticket by the system.

This happens if the ticket is set to resolved and then opened again. It is a pre-caution to remove any login info automatically after the issue is fixed.

Now as apparently the issue is not fixed yet and you detected it is even not isolated to Elementor templates and happens on all pages and posts, I'd better report this to the second-tier support.

I'd appreciate it if you could set the next reply as private and share the login information again so I can work on the copied website here:

hidden link

Thanks.

October 7, 2024 at 8:26 am
October 7, 2024 at 3:17 pm #16262447

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for your patience. I want to inform the issue is reported to the second-tier support.

I will get back to you as soon as I have an answer.

Thank you.

October 10, 2024 at 6:41 am #16273011

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

The issue you are experiencing seems to be related to a cache feature that Elementor introduced which has conflicts with WPML.

We created an erratum for that and you can fix the issue following the mentioned workaround there:

https://wpml.org/errata/elementor-translated-pages-show-stale-content-after-being-updated/

- Navigate to Elementor > Settings > Performance page.
- Disable the Elementor cache.

Thanks.

October 11, 2024 at 10:32 am #16278711

keesd-7

Thanks Christopher for working this out.

Appreciate the help!