Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for translations of field names in error messages #83

Open
sebduggan opened this issue Sep 3, 2012 · 1 comment
Open

Allow for translations of field names in error messages #83

sebduggan opened this issue Sep 3, 2012 · 1 comment

Comments

@sebduggan
Copy link
Contributor

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

@guillaume-boivin
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants