On 8/4/07, Aljosa Mohorovic <[EMAIL PROTECTED]> wrote:
> i'm trying to find a way to translate newforms errors but i can't find
> it in docs.
> does anybody know if this is documented somewhere?

Newforms error messages should be Unicode strings, so use the
'ugettext' or 'ugettext_lazy' functions in django.utils.translation to
mark them for translation:

http://www.djangoproject.com/documentation/i18n/#how-to-specify-translation-strings

-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to