Magento Forum

   
(Solved! ) Where do I locate the source text of ‘tag’ validation messages? 
 
tidbit
Jr. Member
 
Total Posts:  12
Joined:  2008-03-11
 

I need to edit the wording of the validation messages that appear after a user tags a product (e.g - Tag “backpack” has already been added to the product).

I’ve scoured the directories, and I can find everything except for where the text is actually being called from. If someone can point me in the right direction, I’d appreciate it. I’m probably just overlooking it.

Thanks.

Ron

 
Magento Community Magento Community
Magento Community
Magento Community
 
miribota
Jr. Member
 
Total Posts:  23
Joined:  2008-10-13
 

.

 
Magento Community Magento Community
Magento Community
Magento Community
 
miribota
Jr. Member
 
Total Posts:  23
Joined:  2008-10-13
 

The validation error messages are in a translation array.  (In addition to the prototype validation strings)

Take a look at:
/app/code/core/Mage/Core/Helper/Js.php

There may be a way to override these with your own translations, but not sure.

 
Magento Community Magento Community
Magento Community
Magento Community
 
tidbit
Jr. Member
 
Total Posts:  12
Joined:  2008-03-11
 

Thanks.

Finally found what I was looking for in:

app/code/core/Mage/Tag/controllers/IndexController.php

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top