1

i need to change the wording of a error message which is displayed in the edit information page in accounts enter image description here but i dont really know what file to find this error message in. I tried changing the message in validation.js but it didn't apply it to this page.

If you know what file I have to change in order to change the error message please let me know.

2 Answers 2

2

In your theme folder create a locale/[locale_code]/translate.csv file.

Example: app/design/frontend/[package]/[theme]/locale/en_US/translate.csv

And add this line:

"Please make sure your passwords match.","Translated String."

And finally refresh Translations cache.

2
  • Wouldnt that translate all places where it says "Please make sure your passwords match". For example fi they make a new password and the confirmed password doesn't match it will say the new phrase? as i need to just change it on this page
    – Adam Allen
    Jan 28, 2015 at 14:17
  • Message in your screenshot is generated by PHP. If you want to change original message look in validate method of Mage_Customer_Model_Customer class. Jan 28, 2015 at 14:40
1

Have you tried amending the error messages using the transalation.csv file? There you should be able to amend the message to read whatever you want so long as the string matches that in the code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.