This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with the language switcher not rendering content on a Bricks Builder Landing page, while other templates and pages translate fine, and you've noticed that the header and footer are translated correctly, this summary is for you. The client found that the language switcher worked on individual templates but not on the landing page, despite setting conditions for the templates to display based on the selected language.
Solution:
We recommend the following steps:
1. Edit the home page using Bricks and add a header element.
2. Update the page.
3. Translate the page using your translation management system.
4. Check if the translated pages show the translated header and template.
If you've followed these steps and the content is still not rendering correctly, or if this solution doesn't seem relevant to your issue, please open a new support ticket with us, and we'll be happy to help.
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.
Tagged: Compatibility, Not WPML issue
This topic contains 10 replies, has 2 voices.
Last updated by kalleV-3 1 year, 1 month ago.
Assisted by: Osama Mersal.
Author | Posts |
---|---|
December 27, 2023 at 1:46 pm #15132220 | |
kalleV-3 |
Hey, After playing around and trying different options I found a solution was to Select Different Language from Admin Dashboard header. This is confusing because this action wasn’t required for other pages. Those were automatically translated and selected in whatever language I switched to (also had templates included). The question is why did Bricks or WPML create different language translations and pages for other pages(and templates included) and not for the front landing page ? Regards, |
December 27, 2023 at 2:01 pm #15132291 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Here is the sandbox site. (hidden link) Please install the Bricks, create a landing page, and translate it to replicate the issue. If the issue is replicable, please let me know how to reproduce it. Thanks for your cooperation Best regards, |
December 27, 2023 at 2:47 pm #15132490 | |
kalleV-3 |
Hey Osama, |
December 27, 2023 at 2:56 pm #15132505 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for replicating the issue. Please edit the translated page using Bricks and select the translated template. (Kindly check the attached screenshot) Please check the translated page and let me know if it works correctly. (hidden link) Best regards, |
December 28, 2023 at 8:24 am #15133796 | |
kalleV-3 |
Hey, Yeah it works, but what did you do differently ? Or did you also act the way I described by opening up each individual language page and selecting the respective language template ? |
December 28, 2023 at 9:33 am #15133971 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I edited the home page using Bricks, added a header element, and updated it. After that, I translated the page. The translated pages showed the translated header and template. Best regards, |
December 29, 2023 at 8:34 am #15136060 | |
kalleV-3 |
Hi, Can I add a header , translate it and then hide it ? Does that also work ? |
December 29, 2023 at 10:40 am #15136358 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, I didn't test adding a widget and hiding it. Please test that on the sandbox site and let me know if that fixes the issue. Best regards, |
December 29, 2023 at 10:57 am #15136406 | |
kalleV-3 |
Hey, I tested it out without hiding the heading first. So the issue is as I described, not being able to render translated templates on page if no other translations are present on the page. |
December 29, 2023 at 11:06 am #15136454 | |
Osama Mersal Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, Thanks for your update. Please consult the Bricks support team and let us know their findings. As a workaround, please add a heading or text widget, hide it, and translate the page. Best regards, |
January 11, 2024 at 11:24 am #15173753 | |
kalleV-3 |
They have confirmed it as a bug and it's WIP. |