Jump to content

Translation (traduction) and override in PaymentModule.php


YanK

Recommended Posts

Hello,

 

I would like to override PaymentModule.php file to change email content.

But $this->l('my text') doesn't work. It's like that no translation files loaded.

PaymentModule class extends Module class via PaymentModuleCore.

Is there something that I don't understand?

 

Thanks

Yannick

 

---------------------------------------------------

 

Bonjour à tous,

 

Je souhaiterai faire un override de PaymentModule.php afin de changer l'apparence des contenus de mails envoyés par Presatshop.
Mais $this->l('mon texte') n'a pas l'air de fonctionner. C'est comme ci aucune traductions n'avaient été chargé.
La class PaymentModule hérite bien de la class Module via PaymentModuleCore (qui est censé gérer les traductions).
Y a t-il quelque chose que je n'aurais pas compris ?

 

Merci d'avance

Yannick

Edited by YanK (see edit history)
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...