0

I have django app which uses i18n. Everything works fine except few string. Example: I have form with code:

tos_accept = forms.BooleanField(label=u'%s <a href="/terms">%s</a>'%(_('I accept'),_('ToS')),error_messages={'required':_('Acceptance required')})

I have generated translation (using makemessages), then I have it translated. After all, I run the compilemessages command and restart sever. Unlucky, "ToS" and "I accept" are not being translated to other language. Could you tell me why?

dease
  • 2,975
  • 13
  • 39
  • 75

0 Answers0