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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 8:00 – 10:00 | 8:00 – 10:00 | 8:00 – 13:00 | 8:00 – 13:00 | 9:00 – 13:00 | - |
- | 11:00 – 17:00 | 11:00 – 17:00 | 14:00 – 17:00 | 13:00 – 17:00 | 13:00 – 18:00 | - |
Supporter timezone: America/New_York (GMT-04:00)
Tagged: Exception
This topic contains 8 replies, has 0 voices.
Last updated by Lauren 1 day, 6 hours ago.
Assisted by: Lauren.
Author | Posts |
---|---|
September 19, 2025 at 8:08 pm | |
yannA-5 |
Background of the issue: Symptoms: Questions: |
September 20, 2025 at 6:14 pm #17418430 | |
yannA-5 |
Hi, The problem is still the same: I already tried all the steps suggested (global CSS, syncing, custom fields marked as Copy, re-saving translations, regenerating CSS, etc.), but the issue remains. I have also created a temporary Administrator account — you’ll find the secure access link in the dedicated credentials field below. |
September 22, 2025 at 3:11 pm #17422556 | |
Lauren WPML Supporter since 10/2015
Languages: English (English ) Timezone: America/New_York (GMT-04:00) |
I have attached the screenshots that I am seeing in both languages. I'm not seeing design elements that look different, but perhaps I'm just missing it because I'm not sure what to look for. Can you circle or highlight on these screenshots which sections are not showing up the same? |
September 23, 2025 at 7:51 pm #17426977 | |
yannA-5 |
Hi Lauren, Simply switch the language: I can give you a link to log in as an administrator on the production site. |
September 24, 2025 at 8:54 pm #17430115 | |
Lauren WPML Supporter since 10/2015
Languages: English (English ) Timezone: America/New_York (GMT-04:00) |
Pleae try dropping this in a (child) theme’s functions.php and let's see if it force-syncs Elementor design meta to every translation whenever the source template is saved. Load the frontend of our site. Then, you will need to update the TEMPLATE (not the page) in the original language - make any small change and save it. Then update the translation. Here's the code to paste: /** * Force-sync Elementor design meta from source template to all translations on save. * Works for elementor_library (Theme Builder templates). Keeps text editable in translations. * Add to child theme functions.php */ add_action('save_post_elementor_library', function ($post_id, $post, $update) { if (wp_is_post_revision($post_id) || !$update || 'publish' !== $post->post_status) return; // Get WPML language/trid details $details = apply_filters('wpml_post_language_details', null, $post_id); if (empty($details) || empty($details['trid'])) return; // Only push from the source language (adjust if you use a different "source") $default_lang = apply_filters('wpml_default_language', null); if ($details['language_code'] !== $default_lang) return; $trid = $details['trid']; $translations = apply_filters('wpml_get_element_translations', null, $trid, 'post_elementor_library'); // Meta keys that carry Elementor design & per-template settings $meta_keys = [ '_elementor_data', '_elementor_page_settings', '_elementor_edit_mode', '_elementor_template_type', '_elementor_default_status', '_elementor_version', '_wp_page_template', ]; foreach ($translations as $lang => $t) { if ((int)$t->element_id === (int)$post_id) continue; // skip source foreach ($meta_keys as $k) { $val = get_post_meta($post_id, $k, true); if ($val !== '') { update_post_meta($t->element_id, $k, $val); } else { delete_post_meta($t->element_id, $k); } } // Clear Elementor CSS for the translated template so it rebuilds with new JSON delete_post_meta($t->element_id, '_elementor_css'); } // Global cache flush for Elementor CSS files (optional but handy) if (class_exists('\Elementor\Plugin')) { try { \Elementor\Plugin::$instance->files_manager->clear_cache(); } catch (\Throwable $e) {} } }, 20, 3); Please let me know if this resolves the issue. |
September 29, 2025 at 6:41 pm #17442119 | |
yannA-5 |
Hi Lauren, |
October 1, 2025 at 2:09 am #17446965 | |
Lauren WPML Supporter since 10/2015
Languages: English (English ) Timezone: America/New_York (GMT-04:00) |
Please test the following steps. 1. Delete the translation of the template, and remove permanently from trash. |
October 1, 2025 at 8:36 pm #17450223 | |
yannA-5 |
Hi Lauren, I carefully followed all the steps you described (deleted the translation, permanently removed from trash, duplicated the template from the original language, then edited the translation independently and saved). Unfortunately, nothing has changed — the issue is still there. The templates do not look the same in both languages. You can see the difference clearly on the test page again: hidden link What do you suggest as the next step? |
October 6, 2025 at 8:48 pm #17462012 | |
Lauren WPML Supporter since 10/2015
Languages: English (English ) Timezone: America/New_York (GMT-04:00) |
Please try the following steps: 1. Kill the warnings on the frontend 2. Force-generate per-language CSS 3. Make sure WPML is copying the right Elementor meta If a specific widget still explodes on EN, delete/re-add just that widget in the EN editor. Please let me know the results. |