Jump to content

There is a problem getting the Mail files.


Recommended Posts

Hi,

 

I am trying to configure my dutch e-mail template translation files.

 

However upon loading clicking the dutch flag 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/

 

and I receive the following error message when expanding core e-mails section -

 

 

Core e-mails - 0 missing translation(s) on 0 template(s) for Dutch:

There is a problem getting the Mail files.

Please ensure that English files exist in /home/mdis/public_html/nl/mails/nl/en folder

I am not sure why I am getting this message as the /home/mdis/public_html/nl/mails/nl directory exists and has the same permissions as the en folder. Can anyone help?

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...
  • 3 weeks later...
  • 7 months later...

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

02.12.2014-15.04.png
http://screencast.com/t/OFLT4VCmwqC

 

 

and all will be right with the world

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...