ValidateThis
ValidateThis copied to clipboard
Allow for translations of field names in error messages
I've been working with the i18n features of ValidateThis, and have run into a roadblock.
I have locale-specific error messages, but the field name is still fixed to the one language defined in the rules file. So, for instance, I have a Chinese language file; the error comes out as:
Price需要 (price is required)
I'm not sure what the best way to handle translations for the field description; I'll update if I come up with a good idea...
:+1: