Hi,

I am using a form which defines this field:

terms = forms.BooleanField(
        error_messages={'required': _('You must accept the terms and 
conditions')},
        label="",
        help_text=_(mark_safe("I understand and accept the <a 
href='/terms_and_conditions' target='_blank'>terms of use</a> and <a 
href='/privacy' target='_blank'>privacy policy</a> of this site."))
    )

unfortunately running "./manage.py makemessages --all" does not seem to 
pickup the help_text named argument.

---

If i change this to:

terms = forms.BooleanField(
        error_messages={'required': _('You must accept the terms and 
conditions')},
        label="",
        help_text=mark_safe(_("I understand and accept the <a 
href='/terms_and_conditions' target='_blank'>terms of use</a> and <a 
href='/privacy' target='_blank'>privacy policy</a> of this site."))
    )

the message in the html is left untranslated.

---

any advice?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/W5p21l-sTb0J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to