Jump to content

Translation displayError message


Recommended Posts

In parentOrderController (Front controller) around line 100 in my file, I have some error message

$this->errors[] = Tools::displayError('You must enter a voucher code.');
$this->errors[] = Tools::displayError('The voucher code is invalid.');

My website is in English and French but I cannot find where the translation occurs. In the French version of the website the text is translated but I added a condition in which I have another 

$this->errors[] = Tools::displayError('My error message that needs translating.');

I search in Localization -> Translations but I could'nt find it. Any ideas ?

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More