ValidateThis icon indicating copy to clipboard operation
ValidateThis copied to clipboard

Allow for translations of field names in error messages

Open sebduggan opened this issue 13 years ago • 1 comments

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...

sebduggan avatar Sep 03 '12 12:09 sebduggan

:+1:

guillaume-boivin avatar Jan 11 '15 06:01 guillaume-boivin