Hi all,

I'm fairly new to Pylons and I've been developing a CRUD application with it 
for the past two weeks.

I'm using ToscaWidgets and tw.forms to build the add and edit forms. I added 
a NotEmpty validator to one field in a given form. The field declaration 
looks like this:

twf.TextField('first_name', label_text='Nombre', 
validator=twf.validators.NotEmpty, size=30),


The application that I'm developing must have the UI fully in Spanish. So I 
set "lang = es" in the development.ini file and I was expecting this to make 
the validation error messages to show in Spanish. However they are still 
shown in English. Any idea on how can I make the validators messages to show 
in Spanish?

BTW, the message that I'm getting reads 'Please enter a value', which looks 
localized in FormEncode.

Thanks in advance for any help!

Emanuel

PS: Sorry if this message comes twice, I've sent one before but looks I was 
not subscribed and it didn't get through.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to