[Resolved] Split: Header not appearing on translated WC pages
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where the header overlaps with the content on many translated pages, and the header does not inherit the style of the original page.
Solution: First, we recommend checking the display conditions in the Elementor Header Footer Builder. If the conditions are set for specific pages in one language, they may not apply correctly to the translated pages. To fix this: 1. Go to Appearance > Elementor Header Footer Builder and filter for the translated language. 2. Open the translated templates and locate the "Display on:" section. 3. Remove the current conditions for the Spanish versions of the WooCommerce pages. 4. Search for and add the correct translations of those pages, then save the template.
Another solution involves translating the display conditions using the WPML Translation Editor: 1. Navigate to WPML > Settings > Custom Field Translation and set
ehf_target_include_locations
and
ehf_target_exclude_locations
to "Translate". 2. Edit and save the original template, then translate it using the WPML Translation Editor. 3. In the Translation Editor, translate the post IDs to match the IDs of the translated pages. For assistance in finding post IDs in WordPress, refer to this guide.
We are also considering implementing a WPML Hook inside the "Elementor Header & Footer Builder" for automatic display condition adjustments in each language, which may require cooperation with the plugin author.
If these solutions do not seem relevant to your situation, please open a new support ticket with us for further assistance.
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.
You will need to open the translation of the template inside the WPML Translation Editor to fix this.
Here the original cart page is post-12 and it needs to be translated to the Dutch cart page which is post-post-13519.
It is translated to post-13217 and this is why this does not work as expected.
Anyhow, I tried to fix this now and it still does not make the display conditions available on the translated Dutch template. It might be that those settings first need to be copied so that we can translate them after.
Take note, that this issue has already been escalated months ago and we are trying to reach the author of the plugin to achieve cooperation in solving the issue, only until now we could not obtain any feedback.
I would suggest that for now, you fix this issue manually on each template.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I am not sure why the workaround is not working as expected in some cases, but I need to point out again, that it is the plugin author of "Elementor Header & Footer Builder" and our compatibility team is already working together with the author towards a solution.
I am not sure if you revised your site, but I adjusted all the settings manually for you yesterday on the templates by adding the cart, checkout, and account pages as the display condition in almost all languages and this works as expected.
The only exception is the Russian template, as I can not filter the pages on the template conditions in this language.
This means, as these are a few edge cases here, please use manual translation as a workaround for those templates until the author has made the plugin fully compatible.
As soon as I sent my last message, I figured out a workaround with your help.
For the pages it wasn't working for (say Russian), the workaround is to also make sure the display settings of the translated Russian header is also pointing to the translated pages in Russian.
Another issue I'm having is several aspects on the pages not translating; as in the images attached
New threads created by Andreas W. and linked to this one are listed below:
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.