Conversation
supportHello, I tried to find a good solution but every time there is issues. The polylang plugin translates for dekstop fine, but my issues is the mobile. I tried to make a header for each language, and as i remember one for dekstop and one for mobile on same header. Seems like the headers overwrite each other on mobile. How can i fix it? or is there a better and stable solution? i have just the polylang plugin installed. THanks The page I need help with: [ log in to see the link]
Hi @lehat , I tested the same case scenario on my end and did not face this issue. What I did was: Created a single header in the default language for both desktop and mobile. Set the display condition to the entire site. Then created the translated version of that header. The Connect Polylang for Elementor plugin automatically applied the translated header on the translated pages for both desktop and mobile screens correctly. In my testing, the headers did not overwrite each other on mobile. Could you please share the exact case scenario or setup in which you are facing this issue? If possible, please also share: Your display conditions A screenshot or short video of the issue This will help us check the issue more accurately. Thanks
I tried to make 3 headers with topbar and with each language (3 languages). Tried as well 1 header with top bar and see if it could translate. Inside the header(s) there is the primary menu which translates correct and a another menu which is for mobile. This doesnt translate correct and conflicts as I have 3 languages. i tried many things but in the end tha language breaks or conflict. Suddenly i also get errors sometimes. A new version of PRO Elements is available. View version 4.0.4.2 details or update now. A critical error has occurred on this site. Please check your website administrator’s email inbox for instructions. If you continue to have problems, you can try the support forums. Learn more about troubleshooting in WordPress. the error i get, which im not sure if it´s related somehow: En fejl af typen E_ERROR skete i linje 94 i filen /home/customer/www/zorbas.dk/public_html/wp-content/plugins/elementor/core/utils/version.php. Fejlbesked: Uncaught Exception: 4.0.4.2 is an invalid version. in /home/customer/www/zorbas.dk/public_html/wp-content/plugins/elementor/core/utils/version.php:94 Stack trace: #0 /home/customer/www/zorbas.dk/public_html/wp-content/plugins/elementor/modules/compatibility-tag/base-module.php(67): Elementor\Core\Utils\Version::create_from_string('4.0.4.2') #1 /home/customer/www/zorbas.dk/public_html/wp-content/plugins/elementor/modules/compatibility-tag/base-module.php(129): Elementor\Modules\CompatibilityTag\Base_Module->on_plugin_update_message(Array) #2 /home/customer/www/zorbas.dk/public_html/wp-includes/class-wp-hook.php(343): Elementor\Modules\CompatibilityTag\Base_Module->{closure:Elementor\Modules\CompatibilityTag\Base_Module::__construct():128}(Array) #3 /home/customer/www/zorbas.dk/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #4 /home/customer/www/zorbas.dk/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #5 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/update.php(616): do_action('in_plugin_updat...', Array, Object(stdClass)) #6 /home/customer/www/zorbas.dk/public_html/wp-includes/class-wp-hook.php(343): wp_plugin_update_row('pro-elements/pr...', Array) #7 /home/customer/www/zorbas.dk/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #8 /home/customer/www/zorbas.dk/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #9 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/class-wp-plugins-list-table.php(1529): do_action('after_plugin_ro...', 'pro-elements/pr...', Array, 'all') #10 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/class-wp-plugins-list-table.php(728): WP_Plugins_List_Table->single_row(Array) #11 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/class-wp-list-table.php(1706): WP_Plugins_List_Table->display_rows() #12 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/class-wp-list-table.php(1630): WP_List_Table->display_rows_or_placeholder() #13 /home/customer/www/zorbas.dk/public_html/wp-admin/plugins.php(814): WP_List_Table->display() #14 {main} thrown Can i somehow send you the login then you can check? Is there a solution to the mobile menu så somehow pick language in conditions so it knows to show the languages correct?
Thank you for the detailed explanation. From your description, it appears that the issue is related specifically to the mobile menu setup rather than the translated header itself. On our end, we tested the same scenario using: one header for both desktop and mobile in the default language, translated versions of that header for each language, and the display condition set to “Entire Site” only for the default language header (no additional condition was needed for the translated headers). In our tests, the translated headers were rendering correctly on both desktop and mobile according to the current page language. In your case, the issue may be caused by: overlapping display conditions, cached menu rendering, or a conflict with another plugin/theme component. Regarding the critical error: 4.0.4.2 is an invalid version this appears to be related to the Elementor PRO / PRO Elements plugin version handling and could potentially affect Elementor behavior as well. As a first step, could you please verify whether the issue still occurs when using: an older/stable version of Elementor and Elementor PRO / PRO Elements, or temporarily disabling Elementor PRO / PRO Elements to rule out a compatibility conflict? To help us reproduce the exact setup and investigate further, could you also share: a short screen recording of the issue, the exact header structure/setup, the display conditions configured for each header, and a list of active plugins along with their versions? At the moment, we are unable to reproduce the issue on our end, as the translated headers are rendering correctly on both desktop and mobile screens based on the selected language. Looking forward to your update.
Hi @lehat , I tested the same case scenario on my end and did not face this issue. What I did was: Created a single header in the default language for both desktop and mobile. Set the display condition to the entire site. Then created the translated version of that header. The Connect Polylang for Elementor plugin automatically applied the translated header on the translated pages for both desktop and mobile screens correctly. In my testing, the headers did not overwrite each other on mobile. Could you please share the exact case scenario or setup in which you are facing this issue? If possible, please also share: Your display conditions A screenshot or short video of the issue This will help us check the issue more accurately. Thanks
I tried to make 3 headers with topbar and with each language (3 languages). Tried as well 1 header with top bar and see if it could translate. Inside the header(s) there is the primary menu which translates correct and a another menu which is for mobile. This doesnt translate correct and conflicts as I have 3 languages. i tried many things but in the end tha language breaks or conflict. Suddenly i also get errors sometimes. A new version of PRO Elements is available. View version 4.0.4.2 details or update now. A critical error has occurred on this site. Please check your website administrator’s email inbox for instructions. If you continue to have problems, you can try the support forums. Learn more about troubleshooting in WordPress. the error i get, which im not sure if it´s related somehow: En fejl af typen E_ERROR skete i linje 94 i filen /home/customer/www/zorbas.dk/public_html/wp-content/plugins/elementor/core/utils/version.php. Fejlbesked: Uncaught Exception: 4.0.4.2 is an invalid version. in /home/customer/www/zorbas.dk/public_html/wp-content/plugins/elementor/core/utils/version.php:94 Stack trace: #0 /home/customer/www/zorbas.dk/public_html/wp-content/plugins/elementor/modules/compatibility-tag/base-module.php(67): Elementor\Core\Utils\Version::create_from_string('4.0.4.2') #1 /home/customer/www/zorbas.dk/public_html/wp-content/plugins/elementor/modules/compatibility-tag/base-module.php(129): Elementor\Modules\CompatibilityTag\Base_Module->on_plugin_update_message(Array) #2 /home/customer/www/zorbas.dk/public_html/wp-includes/class-wp-hook.php(343): Elementor\Modules\CompatibilityTag\Base_Module->{closure:Elementor\Modules\CompatibilityTag\Base_Module::__construct():128}(Array) #3 /home/customer/www/zorbas.dk/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #4 /home/customer/www/zorbas.dk/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #5 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/update.php(616): do_action('in_plugin_updat...', Array, Object(stdClass)) #6 /home/customer/www/zorbas.dk/public_html/wp-includes/class-wp-hook.php(343): wp_plugin_update_row('pro-elements/pr...', Array) #7 /home/customer/www/zorbas.dk/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array) #8 /home/customer/www/zorbas.dk/public_html/wp-includes/plugin.php(522): WP_Hook->do_action(Array) #9 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/class-wp-plugins-list-table.php(1529): do_action('after_plugin_ro...', 'pro-elements/pr...', Array, 'all') #10 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/class-wp-plugins-list-table.php(728): WP_Plugins_List_Table->single_row(Array) #11 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/class-wp-list-table.php(1706): WP_Plugins_List_Table->display_rows() #12 /home/customer/www/zorbas.dk/public_html/wp-admin/includes/class-wp-list-table.php(1630): WP_List_Table->display_rows_or_placeholder() #13 /ho...
Thank you for the detailed explanation. From your description, it appears that the issue is related specifically to the mobile menu setup rather than the translated header itself. On our end, we tested the same scenario using: one header for both desktop and mobile in the default language, translated versions of that header for each language, and the display condition set to “Entire Site” only for the default language header (no additional condition was needed for the translated headers). In our tests, the translated headers were rendering correctly on both desktop and mobile according to the current page language. In your case, the issue may be caused by: overlapping display conditions, cached menu rendering, or a conflict with another plugin/theme component. Regarding the critical error: 4.0.4.2 is an invalid version this appears to be related to the Elementor PRO / PRO Elements plugin version handling and could potentially affect Elementor behavior as well. As a first step, could you please verify whether the issue still occurs when using: an older/stable version of Elementor and Elementor PRO / PRO Elements, or temporarily disabling Elementor PRO / PRO Elements to rule out a compatibility conflict? To help us reproduce the exact setup and investigate further, could you also share: a short screen recording of the issue, the exact header structure/setup, the display conditions configured for each header, and a list of active plugins along with their versions? At the moment, we are unable to reproduce the issue on our end, as the translated headers are rendering correctly on both desktop and mobile screens based on the selected language. Looking forward to your update.