What's New
- AuthorPosts
Hi,
I have two languages on my site: Catalan (Ca) and Spanish (Es). I have a mess with how e-mails are dealt with in Prestashop, Core and theme. I have the following group folders regarding e-mails:Group 1:
– httpdocs/mails/ca
– httpdocs/mails/es
– httpdocs/mails/en
– httpdocs/mails/themes/classic
– httpdocs/mails/themes/modern
Group 2:
– httpdocs/themes/classic/mails/ca
Group 3:
– httpdocs/themes/panda/mails/ca
– httpdocs/themes/panda/mails/esWhy there is no /en within panda folder?
Which process should I follow to translate e-mails to a given language? In the case of language “ca” I should go to Group 3 files (panda) and translate the .txt files (e.g. shipped.txt). Then I should go to “Generate Emails” and select:
Select your email theme: modern OR classic (It does not matter, right?
Select your lanaguge: ca
Select theme you want to overwrite (Core/classic/panda): panda
Overtwrite template: YES
Are this process correct? I have tested to modify “shipped.txt” and generated Emails and I have not been able to see the change on the html files.How does thie “Generate Emails” actually works? I have modified all shipped.txt files in all groups and after generating mails I am not able to see any change…
In the below box within Design > Email theme, where are the emails taken from? When going to see the emails, for example the shipped one, I can access the txt file in the following url:
…/improve/design/mail_theme/raw/ca-ES/modern/…Could you please shade some light on how can I deal with mail translations? How can I make sure translations will remain OK after a Panda or Prestashop update? Will TXT be the originals that comes with the Panda Template?
Thanks
Hi,
There should be the /themes/panda/mails/en folder, but it seems that was lost in your store, I attached it to you. then you can translate email templates on the BO > Localization > Translations page, see attached screenshot.
Best regards.I have gone to those translations and I got this:
– Configuration : email_warnings_1.png
– Warnings: email_warnings.png
Should I translate the CORE mails and then generate the Panda emails? Are these feed from Core mails?
I have configured my profile to English on BackOffice but it seems there is a problem because the left menu on back office is still shown in catalan. Some part and modules are indeed in english but many many parts are in Catalan, like if the “en” folder is missing somewhere. Could you please take a look?
Thank you very much
Attachments:
Hi,
1. You need to translate all email templates in the core mail section.
2. There still have permissions problem that causes some folders can’t be copied. take the stnewsnelleter for example, please copy the /modules/stnewsletter/mails/en folder to the /themes/panda/modules/stnewlsetter/mails folder and rename it to ca to resolve the warnings.
Best regards.Hi,
I managed to resolve the warnings issue but after several hours I still cannot understand and make Panda E-mail translations to work in “ca” language.
I will try to explain through one example. Let’s take “shipped.html” mail template. I have it translated in all possible /mails/ folder. That is, I have it properly translated to “ca” in:
-/mails/ca
-themes/panda/mails/ca
-themes/classic/mails/caStill, from Design > E-mail Theme > E-mail themes > modern > List modern Layouts when I try to “Preview” the HTTP mail it is not completely translated. I try generating my Mails from Design > Email theme > Generate mails (see generate_mails.jpg) but there is no look even after clearing all possible Cachés.
All the “modern” Previews work fine in “en” and “es” but not in “ca”. What should I do to be able to see preview e-mails properly in “ca” so I can be sure that they will be sent properly to clients that purchases in that language? To test any Preview I first set language on Profile > Language and as I said, it works fine en “en” and “es” but not in ca, even when I have all posible mails folder translated.
Attachments:
Just to confirm, when I say I have all the mails/ translated I mean that from International > translations > Email translations > Ca > core/pa/classic I can see they are translated (See live_translating.jpg).
On the other side, when I try see from Preview and when I send a “test mail” they are wrongly translated, they are not the same html files from mails translation folders I can see as OK translated.
I have just completed a full order in Catalan and emails are sent wrongly. Emails sent are not the html files that are in the mails folders (/mails/ca – -themes/panda/mails/ca – themes/classic/mails/ca) which are OK translated.
Any advice?
Attachments:
Hi,
It seems using “classic” theme of E-mail Theme works…
However, I have checked that when a Client completes a purchase in “ca” (Catalan) the email is sent properly in “ca” but the invoice in PDF is sent in “es” (Spanish). It happens exactly the same on the other scenario, a client completes a purchase in “es” and will recieve the email in “es” and the invoice in “ca”.
I attach an image for clarification
Dou have any suggestion on where could I fix this missbehaviour?
Attachments:
- AuthorPosts
You must be logged in to reply to this topic.