Jump to content

Traduire du texte dans la classe du module


bayzazi

Recommended Posts

Bonjour à tous

Comment gérer la traduction des textes affectés dans la classe du module ?
Pour un module donné, la fonction suivante :

private function _getError(){

       if ($this->errorPaymentNumber == 101)
           $this -> errorPayment = $this -> l('Declined by Bank');
       elseif($this->errorPaymentNumber == 102)
           $this -> errorPayment = $this -> l("Referral by Bank (treat as decline in automated system such as internet)");
       else
           $this -> errorPayment = $this -> l("A problem occured in your paiement");
   }



Dans le backoff, pas trace de ces textes pour les traduire en français. Comment gérer ça ?
Merci

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