On Fri, 2008-02-15 at 06:24 -0800, Vladimir Pouzanov wrote:
> Is it possible to somehow make use of i18n with {{ field.label_tag }}
> of the newforms form fields?

Sure. Make sure when you specify the label on the form field, it's
wrapped in a call to ugettext_lazy(). The rest should happen
automatically (when it gets converted to a string by Form._as_html(), it
will be translated).

Malcolm

-- 
A conclusion is the place where you got tired of thinking. 
http://www.pointy-stick.com/blog/


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