Sure. You can just go like this
requires=IS_EMAIL(error_message=T("Must be a vaild email"))
You need to do this to every validator you have.
(I didn't write the full syntax, but I'm quite sure you understand it.
Oh, and I'm not home, so it's not really tested, but I recall this is
the syntax).

On May 4, 4:28 pm, Vidul Petrov <vidul.r...@gmail.com> wrote:
> Is translation of error_message attribute in validators.py possible?
>
> The reason for this is that not all "error_message"s (imho) can be
> customized, for example in methods like retrieve_password and login.
>
> Thank you for the help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to