• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Alex
  • Private: No
  • Open Date: 04.05.16, 17:33
  • Opened by: Eddie Piazza
  • Closed by: Alex
  • Closed on: 16.09.16, 10:38
  • Reason: Closed
  • Comment: Glad to help!

Ticket #9510 - Email templates and translations

We are making some tests with emails and we noticed that the venedor templates are only working in english.

I am trying to copy HTML files to es/ directories and also deleting all files for they be reconstructed but it still being impossible to import them. I attach some images showing differences and errors.

Comments

Eddie Piazza 04 May 2016, 17:37

Also invoice in english is sent with english mail but PDF is in spanish.

Alex 04 May 2016, 22:34

Hi.
Venedor email templates are used only for Prestashop emails not for the modules. I don’t know Spanish so I don’t understand what the errors in the screenshots.

Eddie Piazza 05 May 2016, 11:01

This errors are showed in Emails translations. Some of them related with modules because Venedor has modules with emails for example “sendtoafriend”.
Anyway, the emails I am interested are related with all related with users accounts and also about buys, invoices etc…

The fact here is that the templates are working 100% when a user buy from english shop version. But once it´s switched to spanish, all emails are being sent with Prestashop default template.

I try some things.

1) copy all files from venedor/mails/en/ to es/ folder. (it doesn´t work)
2) delete es/ folder (In this case, Prestashop creates a new es/ folder with same default files inside)
3) Copy all files from venedor/mails/en/ to Prestashop/mails/en and also to es/ folder (nothing…)

Basically PS is ignoring the mails templates in other languages and also giving an error saying literally “It already exists a path for emails for language “es” but is not the default language (en) in venedor/mails/

So, here I need a solution for PS recognise your emails for be duplicated in other language, and after give the possibility to translate them if they are not partially.

Finally, I am not sure that is related with venedor template, but PDF invoice is not being translated in english and is being sent in spanish as a default language.

Thank you very much.

Eddie Piazza 05 May 2016, 19:48

I discover also some holes in emails related with database connection. I mean… for example when a client buy a product that is out of stock, he receive the email in english with spanish subject “Productos fuera de linea”.
I attach a picture explaining why.

Here the list of emails without connection with database:

voucher_new
test
shipped
refund
preparation
payment
payment_error
outofstock
order_conf_product_list
order_conf_cart_rules
order_changed
order_canceled
newsletter
lrsociallogin_account
cheque
bankwire

Well, this is important but also discover how to send same mail templates with other languages. You are free to make all test you need with my site.

Thank you very much.

Alex 05 May 2016, 22:15

Hi. I just duplicated the en folder in the themes/mails and renamed it to “es” Registered on ES site version and everything is ok http://prntscr.com/b0piqg
SO just translate the html files with the BO>Localization>Translation>Emails or directly in the files

Eddie Piazza 06 May 2016, 11:22

Thank you is also a solution, but you have to know that it still being impossible to edit other languages from Translations.

Alex 06 May 2016, 15:03

don’t choose CORE emails but use Venedor emails http://prntscr.com/b0yc1k

Eddie Piazza 06 May 2016, 17:03

Well, I translated manually all emails, I have a nice present for you. All Venedor template and emails translated in Spanish. There are hours of work there ! (I deleted all “powered by Promokit Co™“, it s nice but no one client needs spam. you are free to insert your code in all files again.) Use Venedor-emails-ES-V2.zip

Be careful with bankwire template, bank info use some lines to insert all info. Actually all layers are static and text is being supperposed (I attach you a picture). I recommend you to change your layers for be dynamic.
I changed height to 200px and for me is OK, but maybe not for others.

An other Bug I noticed in your emails is in (social_networks) div. Only Youtube is working. But in front office all are working.
I hope this contribution to you will make you spend a bit of time in solve the problem with combined products and Venedor menu. We still not having possibility to use Stock management without this fix!

Eddie Piazza 06 May 2016, 19:31

I discover that links problems related with social_networks are only happening in Thunderbird, For Chrome is all perfect.

I send here a final version of all Venedor Template translated in spanish. I fixed some html problems related with accents, now all accents are perfect. Enjoy ;)

Alex 08 May 2016, 13:52

Thank you a lot for such present! ;-) We will implement this translation with next theme update