danstan Posted February 19, 2013 Share Posted February 19, 2013 Hi,I am trying to modify the dutch e-mail translation templates however when I try to do this I am presented with the following warnings.. mail directory exists for nl but not for english in /mails/nl/ mail directory exists for nl but not for english in /modules/blocknewsletter/mails/nl/ mail directory exists for nl but not for english in /modules/blockwishlist/mails/nl/ mail directory exists for nl but not for english in /modules/followup/mails/nl/ mail directory exists for nl but not for english in /modules/mailalerts/mails/nl/ mail directory exists for nl but not for english in /modules/referralprogram/mails/nl/ mail directory exists for nl but not for english in /modules/sendtoafriend/mails/nl/ There is a problem getting the Mail files.Please ensure that English files exist in /home/mysite/public_html/nl/mails/nl/en folderI have tried reinstalling the dutch language pack and have even copied /mails/nl directory for different (working) instance of prestashop.I have even copied the en folder to the directory but that didnt work, and this folder does not exist for other languages anyway.. :sI am really not sure what to do here, and would appreciate any feedback.ThanksI am using PrestaSho 1.5.3.1 Link to comment Share on other sites More sharing options...
mario30 Posted March 7, 2013 Share Posted March 7, 2013 same problem, please help Link to comment Share on other sites More sharing options...
iggywebprom Posted February 12, 2014 Share Posted February 12, 2014 me2, even in English: A mail directory exists for en but not for English in /themes/med/modules/blocknewsletter/mails/en/ A mail directory exists for en but not for English in /themes/med/modules/blockwishlist/mails/en/ A mail directory exists for en but not for English in /themes/med/modules/followup/mails/en/ A mail directory exists for en but not for English in /themes/med/modules/mailalerts/mails/en/ A mail directory exists for en but not for English in /themes/med/modules/paypal/mails/en/ A mail directory exists for en but not for English in /themes/med/modules/referralprogram/mails/en/ A mail directory exists for en but not for English in /themes/med/modules/sendtoafriend/mails/en/ Link to comment Share on other sites More sharing options...
iggywebprom Posted February 12, 2014 Share Posted February 12, 2014 (edited) http://www.prestashop.com/forums/topic/244904-e-mail-templates-translation/?p=1243634 Adding module mails to template seems to work. Edited February 13, 2014 by iggywebprom (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted February 12, 2014 Share Posted February 12, 2014 PrestaShop gets confused (read bug). When we want to translate emails they are 'typically' within a module. at back offiice-->localization-->translations-->email translations-->(the default is theme) if we then use the default setting (theme) then rather than file the xlations to the module it will file them under theme/yourtheme/modules/module name/lang.php This will result in next visit to translations with error. TO FIX THIS (first back up) then delete theme/yourtheme/modules/module name (make sure there is nothing in this folders except mails) Then TRANSLATE LIKE THIS: Select Core (no theme selected) theme/yourtheme/modules/module name/lang.php http://screencast.com/t/OFLT4VCmwqC and all will be right with the world 1 Link to comment Share on other sites More sharing options...
MrMax Posted March 21, 2014 Share Posted March 21, 2014 Thanks El Patron! It works perfect. Think this issue is solved. 1 Link to comment Share on other sites More sharing options...
tivicrdotcom Posted May 21, 2014 Share Posted May 21, 2014 Good job Patron. I had the same issue as I was modifying translations from my cell phone and got this message which seemed odd since I was working on them the day before. On 1.6.0.5. if you try to modify under the theme default-bootstrap you will see that error message. So all you have to do is select the theme Core (no theme selected) then the error disappears. 1 Link to comment Share on other sites More sharing options...
omsvavarsson Posted June 3, 2014 Share Posted June 3, 2014 Hi, El Patron. I just had this problem and saw your solution. What do you mean by: TO FIX THIS (first back up) then delete theme/yourtheme/modules/module name (make sure there is nothing in this folders except mails) Shall I delete all the affected modules (whole folder) then upload them again... or just the language files...?? Could you please help. Thanks in advance, Oli Link to comment Share on other sites More sharing options...
El Patron Posted June 3, 2014 Share Posted June 3, 2014 Hi, El Patron. I just had this problem and saw your solution. What do you mean by: TO FIX THIS (first back up) then delete theme/yourtheme/modules/module name (make sure there is nothing in this folders except mails) Shall I delete all the affected modules (whole folder) then upload them again... or just the language files...?? Could you please help. Thanks in advance, Oli Hi Oli, What I found is once I created xlation (theme selected and not core-no theme), the xlations would be filed in the themes/yourtheme/moudles. But then no xlations would be present. So I deleted the xlated modules form themes/yourtheme/modules. The only files we would expect to see in themes/yourtheme/modules are the translations files, i.e. there are no .php files for example. Just an after thought, it might work if you copied the translations to the modules/(the module file) and the delete the xlations from themes/yourtheme/module. Link to comment Share on other sites More sharing options...
omsvavarsson Posted June 3, 2014 Share Posted June 3, 2014 Hi, again. Are you talking about the "translations" folder inside the module folder? F.x. now I have a module that I have configured called "agilemultipleseller" So here is my folder as it looks (one of the email-modules I have to translate): /public_html/modules/agilemultipleseller/translations/ Shall I delete the "translations" folder or the "agilemultipleseller"? Link to comment Share on other sites More sharing options...
omsvavarsson Posted June 3, 2014 Share Posted June 3, 2014 Sorry.... themes.... themes folder.... should have put my glasses on Link to comment Share on other sites More sharing options...
El Patron Posted June 3, 2014 Share Posted June 3, 2014 Sorry.... themes.... themes folder.... should have put my glasses on Hi, please see forge report http://forge.prestashop.com/browse/PSCFV-12110 you can vote it up, and add more comment. 1 Link to comment Share on other sites More sharing options...
prospect Posted June 14, 2014 Share Posted June 14, 2014 If anyone can explain step by step how to do. 1.... 2.... 3.... Therefore, the solution does not work Link to comment Share on other sites More sharing options...
Freeware Posted March 2, 2015 Share Posted March 2, 2015 (edited) For Prestashop 1.6.0.11 I had the same issue. I wanted to remove the "build by prestashop" link in the mails. So i went into the email template translations then default-bootstrap then my language. I got the error: " the folder EN is missing from the location: -total path-". So i went into that path and just created a folder "EN" . That will do the trick I thought. Nope.. that triggered exactly as El Patron is telling. It wont open anymore and just tell me that the files are missing in that folder "EN" that I created. So what i did: in the theme the local language is there. Only EN is missing. So (as El Patron explained) you can translate from the core files. They are there. Just select them from core and not from theme in BO. But my theme is default-bootstrap, so I want to work from within that theme. So I copied the files from the core folder EN to the theme folder EN. Just repeat this for all your modules you want to translate. Then from BO: select translate mails - default bootstrap - your language - modify and it works again like a charm. So the exact steps WHAT to copy: 1: core/mails/en copy total folder en to themes/default-bootstrap/mail/ 2: core/modules/blocknewsletter/mails/en copy total folder en to themes/default-bootstrap/blocknewsletter/mails/ 3: core/modules/blockwishlist/mails/en copy total folder en to themes/default-bootstrap/blockwishlist/mails/ 4: core/modules/sendtoafriend/mails/en copy total folder en to themes/default-bootstrap/sendtoafriend/mails/ I hope this explains and helps for you. Edited March 2, 2015 by Freeware (see edit history) 1 Link to comment Share on other sites More sharing options...
Anton_bcn Posted September 29, 2015 Share Posted September 29, 2015 (edited) Probably if you don't use default theme you will need to rename you theme name (in advanced settings of theme) same as name of theme folder for example theme you folder name is my_theme1 so name of theme(in BO) needs to be same my_theme1 NOT my theme 1 etc. Edited September 29, 2015 by Anton_bcn (see edit history) Link to comment Share on other sites More sharing options...
paralepepipedo Posted October 6, 2016 Share Posted October 6, 2016 Hi, i was the same problem.. THE SOLUTION IS VERY EASY. DELETE THE COOKIES. Link to comment Share on other sites More sharing options...
Tahsin_85 Posted March 10, 2017 Share Posted March 10, 2017 If you wanna send a mail to your costumer an error occurs language file missing by sending the mail from backend in prestashop. Solution: 1. go to /themes/yourtheme/mails/yourlanguage/lang.php2. copy the lang.php from step 1 in your root/mails/yourlanguage/ The error occures because the language file is expecting in root/mails, but the language file in prestashop is in /themes/mails/yourlanguage. Link to comment Share on other sites More sharing options...
Recommended Posts