- Priority: 0
- Status: Waiting on customer
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 22.08.24, 12:45
- Opened by: Dinamic Comunicación
Ticket #25725 - Creative elements (templates & pages) language selector
I installed the Alysum theme in a shop. My site has 5 different languages (ES, GB, MX, FR & PT). When creating new templates or pages from Creative Elements, I can’t find any option to choose the desired language for the page. Also, some of the Creative Elements Widgets are showing always it contents in english: (for example my acount, my favorites or the cart link widgets), and I can’t choose nor translate contents.
Moreover, I need to be able to have different page versions for different languages (and also differnet header, footer and so), but I can’t find any option to duplicate a template and translate it contents. Also, I can’t find any option to indicate the contents language when working with templates. Can you help me? Thanks in advance!
Comments
Hi, Dinamic Comunicación.
Yes, you can find Multilanguage video tutorial here https://alysum.promokit.eu/promokit/documentation/#page_builder
Thanks for your help.
I watched the video tutorial. But there are some problems & questions about:
1. you have to create a template in English first (or any other language) then copy it, apply as a template for another language, and change all the text you need
2. Yes, right. You need to use "everywhere content". In Theme Settings select Hook "displayHeaderBuilder" and you will be able to assign a template from "everywhere content"
3. Some widgets require to be translated using native prestashop translation system. Try to use our translation catalog in case you don't know where to find a translation https://alysum.promokit.eu/promokit/documentation/translations/
Hi again.
I'm a little confused. I created the main header & footer in one language. They are "content everywhere", and are inserted in displayHeaderBuilder & displayFooterBuilder hooks. But when trying to swap to another language from Creative Elements builder (lang button from left menu → choosing ES, for example), I get this error:
Sorry, the content area was not found in your page.
You must insert the selected module position (hook) in the current template, in order for CreativeElements to work on this page.
I'm completely lost, and I don't know how to deal with problem. :(
Hi, Dinamic Comunicación.
Please fill out all necessary fields in your profile https://support.promokit.eu/myprofile to access to your Back-office to let me see the issue
Added data! You can access now to our development website. Feel free to make changes, this site is for development purposes only.
Try following fix, remove selected code → https://take.ms/sfnfW
Hi! Thanks for you support.
But the solution you propose does nothing. Are you sure you linked the right image? I don't know how a modification in isCarousel() method will solve a problem with multiple languages management. ???
Anyway, I tried the solution you proposed, and my problem continues. I repeat the description of the problem:
I have some page parts created at "Content everywhere" sections (header, footer, index), in one single language (ES). I go to "Content everywhere" menu option, select one of this page parts (for example, "Header_general"), and when choosing any other language (for example, EN), I get this error:
Sorry, the content area was not found in your page.
You must insert the selected module position (hook) in the current template, in order for CreativeElements to work on this page.
The same happens if I edit the page with Creative Elementor and select any language different than "ES". So I can't create a different version of header, footer or even home page for every language. :(
I'm really sorry, but that was a comment for another ticket.
As for your issue, it's still in progress. It's looks very strange because displaying editor is not depending on a language. We trying to find out what's wrong
Any news about this problem? The ticket has been opened for more than a week, I need to solve this as soon as posible, please…
That’s unique issue that is present in your store only. We are not able to reproduce it locally. Keep trying to find out what’s wrong
I found it is a conflict with "Pretty URL" module (https://addons.prestashop.com/en/url-redirects/16633-pretty-url-seo-friendly-url-removes-ids-numbers.html). It is redirecting some Creative Elements ajax requests because its URL structure, and those 302 redirects causes the page builder error (and apparently it's not related to hooks, despite the error message it shows).
Thanks!
You are welcome