[Resolved] WPML does not translate layout elements in Elementor
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to translate the headers and footers on their website using Elementor and the WPML-compatible CORREDO theme, despite having translated text strings and associated menus. Solution: 1. Ensure all WPML plugins are updated to the latest version for compatibility and functionality improvements. This can be done by navigating to Plugins >> Add New Plugin > Commercial tab. 2. Set the 'Layouts' post type to 'Translatable only show translated items' in the WPML >> Settings > Post Types Translation section. This adjustment allows the translation of header/footer templates into secondary languages. 3. Translate the header/footer templates using the WPML >> Translation Management page. For detailed guidance, refer to the documentation on translating theme options: https://wpml.org/documentation/getting-started-guide/string-translation/how-to-translate-theme-options/
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we recommend opening a new support ticket. Additionally, we highly advise 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. For further assistance, please visit our support forum: 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.
Background of the issue:
We have installed and translated the motocardepicraid.com website with Elementor using the WPML compatible CORREDO theme. We are trying to translate the headers and footers, but they are not being translated.
Symptoms:
The headers and footers are not translated, although the associated menus are. Text strings are translated but not appearing on the page. The registration button in the header and the footer form are not translated.
Questions:
How can we translate the text in the footer and header layout?
Why are the text strings not appearing translated on the page?
Thank you for contacting WPML Support. Sorry for the delay due to high workload and the reply time will be shorter from now. To take a closer look at the header/footer translation issue, please provide temporary access (WP-Admin and FTP Login info) to your site (preferably staging site), so that I can look into your setup and debug the issue.
Your next answer will be private, meaning only you and I can access it.
=== Please backup your database and website ===
✙ I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is essential.
- To fix the “WPML Update is Incomplete” issue please try the below steps:
1. Take a backup of your site first for safety reasons.
2. Go to the Plugins >> Add New Plugin > Commercial tab and update the remaining WPML plugins to the latest version: hidden link and see if this resolves the issue.
- I have noticed that the header/footer templates are coming from Layouts post type which should be set as Translatable in order to translate the header/footer templates into secondary language, so please follow the below steps:
1. Go to the WPML >> Settings > Post Types Translation section.
2. Set the “Layouts (cpt_layouts)” post type to “Translatable only show translated items” and press the Save button.
3. After that make sure to translate the header/footer templates into secondary language from the WPML >> Translation Management page. Here is a doc for more details: https://wpml.org/documentation/getting-started-guide/string-translation/how-to-translate-theme-options/
Please let me know if this resolves the issue or if you need further assistance with this issue.
Hi Noman, thank you very much for your help, it has been very useful and we have been able to solve our doubts.
There is only one doubt left. After having installed all the WPML components we see that the translation part of Woocommerce cannot be executed because the page remains blank and does nothing. Would you know why this could be happening?
The steps to follow are, WordPress>WooCommerce Multilingual and Multicurrency> Start the confirmation wizard> and from here the page goes blank and Woocommerce can not be translated.
Thank you very much for your invaluable help
New threads created by Noman and linked to this one are listed below:
If the Header/Footer layout elements translation issue is solved, please mark this ticket as resolved and we will continue working on the above ticket for it.