[Resolved] Elementor template content shown in original language only
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is using Elementor templates and WPML for translating page content. They have a template (container template) translated by WPML, but on the translated page, the content of this template appears in the original language instead of the translated version. Solution: We have identified that the Envo Extra plugin has its own implementation for the
[elementor-template id="ID"]
shortcode, which is causing the issue with WPML. We recommend the following workaround: 1. Edit the
4. After making this change, clear the cache and make minor edits to the page. Then, try re-translating it to see if the issue is resolved. We also suggest asking the plugin/theme author to join our Go-Global program: https://wpml.org/documentation/support/go-global-program/
Please note that this solution might be outdated or not applicable to your case. If it doesn't help, 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 the problem persists, please open a new support ticket: https://wpml.org/forums/forum/english-support/
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.
I use templates in Elementor and also use WPML to translate page content and other elements.
Shortcodes are used via the shortcode widget to insert the container content into the page.
I have the Elementor template (container template) already translated by WPML - the original and translated version is available.
However, on the second language page (translated page) the content of this template shows up in the original language.
I cannot force the template content to also show in the translated version on the translated page.
Any idea how to solve this?
Thanks in advance
Thanks for reaching us. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Unfortunately no.
Thank you for the screenshot.
What you see is a page translated into English (which is fine) with template content in Polish that is NOT translated (which is not what I need).
This is the situation I am struggling with 🙂
The effect I want is the English-translated template content shown on the English-translated page.
I've added a custom XML configuration to activate translation for the Elementor shortcode, which can be found here: hidden link. Additionally, I've integrated custom PHP code into the theme's functions.php file to enable ID translation as shown in the attached screenshot.
Unfortunately, despite my efforts to translate it, the feature isn't functioning as expected. I suspect this issue may be due to the older version of the Elementor plugin. Could you kindly create a backup and update the Elementor plugin to check if that resolves the problem?
Hi Kor,
Thank you for sharing this workaround.
It helps indeed for newly created pages and translation. The ones created so far are still behaving odd.
But this is pretty sufficient for me. I can cope with that.
Thank you very much!
Piotr