YanK Posted February 10, 2015 Share Posted February 10, 2015 (edited) 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 February 10, 2015 by YanK (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now