Magento – How to translate Magento validate.js error

localisation

I have a website with 2 stores (English and Spanish). Now I need to translate validation messages in Spanish. Like for example:

Please enter a valid email address.

Please suggest how I can achieve this?

Best Answer

Just add the translation in you app/locale/LOCALE-CODE/Mage_Newsletter.csv file.