Re: Customising errors in a form according to user region
On Fri, 2010-09-03 at 14:07 +0200, Sithembewena Lloyd Dube wrote:
> Basically, I wish to validate the name, surname and email fields when
> a user
> hits submit on the form. However, I need to show validation messages
> in the
> appropriate language based on the user's selected region. How would I
> customise the form object's validation messages?
use i18n (look up internationalization and localization in the docs)
--
regards
Kenneth Gonsalves
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home