Jump to content

How to include mail subject translation in a module?


be_tnt

Recommended Posts

Hello!

 

I am developing modules for prestashop. Some of them got email templates (for email notification). To send email, I do use the Mail::Send and for the subject Mail::l. Everything is correctly displayed in the BO email translation.

 

My issue is that the translation of the mail subject is in /mails/{lang}/lang.php and not inside the module mails folder.

 

Is there a way to force it? Should I write directly in the lang.php file (do not like this solution btw)?

 

Having to write in the module documentation "please do translate the email subject through BO" is not really nice.

 

Thx in advance!!

 

:)

Link to comment
Share on other sites

  • 2 years later...

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...