This was because all the templates should have the "html" extension to get translated.
On Apr 1, 11:32 am, omat <[EMAIL PROTECTED]> wrote: > Hi, > > I am sending notification e-mails to members on some actions. The > message body comes from a template: > > {% load i18n %} > {% blocktrans %} > Your application is created successfully. > Thanks. > {% endblocktrans %} > > I load and render the template to form the body of the message. It > works alright but when I build the translation file, the text is not > recognized to be translated and does not appear in the translation > file. > > How can I make xgettext to process those templates? > > Thanks,oMat --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---