Skip Navigation

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.

  1. Open the /wp-content/plugins/elementor-pro/modules/theme-builder/classes/conditions-cache.php file.
  2. Look for line 109.
  3. 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 
  4. Resave your templates.

10 Responses to “Elementor Pro - It's not possible to use different templates per language”

    • Thank you for your feedback. Please open a ticket on our support forum and one of our supporters will look into your case.

      • 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

  1. 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.

  2. 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