Skip to content

language extension to the mailer#50

Open
felarov wants to merge 4 commits into
emencia:masterfrom
felarov:master
Open

language extension to the mailer#50
felarov wants to merge 4 commits into
emencia:masterfrom
felarov:master

Conversation

@felarov
Copy link
Copy Markdown

@felarov felarov commented Nov 22, 2011

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.

models : extension of the model with language code
admin : changes to make the models editable
mailer : changes to push the language versions in the content of the
mails

p.s. a template has to be made for each language version of
link_site and unsubscribe templates(fall
back
available)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant