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.
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?
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.
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.
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:
keesd-7 confirmed that the issue was resolved on 2024-10-11 10:32:02.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.