emencia / emencia-django-newsletter

An app for sending newsletter by email to a contact list.
189 stars 72 forks source link

language extension to the mailer #50

Open felarov opened 12 years ago

felarov commented 12 years ago

I made straigthforward changes to the code.

models : extended for translations and adapted the admin mailer : use the translations in the mail creation. I propose to take a different template for the different languages for the newsletter_link_unsubscribe.html. The legal requirements vary in every country so that a trans template tag would propably not be enough.

I would like to add newsletter templates per newsletter. the body_insertion routine seems to be a good starting point, alternatively extension of the context and a {% extends %} template tag.