Resolved
Reported for: WPML Multilingual CMS 4.5.2
Resolved in: WPML Multilingual CMS 4.5.9
Overview of the issue
Currently it is not possible to display different Elementor templates per language. Despite the fact that you see the correct template selected on the backend, your site will always display last template saved on the front-end.
Workaround
Please, make a full backup of your site before proceeding.
- Open the /wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-cache.php file.
- Look for line 109.
- Update:
'posts_per_page' => -1, 'post_type' => $post_types, 'fields' => 'ids', 'meta_key' => '_elementor_conditions',
With:
'posts_per_page' => -1, 'post_type' => $post_types, 'fields' => 'ids', 'meta_key' => '_elementor_conditions', 'suppress_filters' => true //Here's the added line
- Resave your templates.
Tried out and it is not working again . Still have just one template per page
Thank you for your feedback. Please open a ticket on our support forum and one of our supporters will look into your case.
Any updates on this? We faced the same issue with Elementor and The7 theme.
We don’t have updates so far. Please, feel free to use the workaround proposed, if it does not help, don’t hesitate to open a ticket in our support forum.
I have a problem with JetThemeCore and Elementor (not pro) on the template type (header and footer). The translations are taken into account but not the formatting… If I inspect the code, the tags and disappeared on the translated page, hence the formatting issues. How to solve the problem ?
Hello Maud,
Your situation does not look related to the issue described in this errata. I recommend you to open a ticket in our support forum so we can investigate it better.
Regards
Had same Problem, spend hours on trying fix this.
Now it worked with this little code row.
When will it be fixed on Elementor Pro?
This is really bad Problem…..
We are glad to know it worked, Daniel. We will update here once we have any news from our devs.
Thank you for your understanding.
Hi Andres,
I’m having this problem and tried the suggested solution but it does not work. Just to clarify – what exactly do you mean when you say “Resave your templates”? Are we mean to click in to the template and just click ‘Update’ and exit again?
Hello @michelN-4,
Yes, exactly, just go to your templates and check that the condition was set and save them.
If this does not work, please open a ticket in our support forum to help you better.
Regard