Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

language extension to the mailer #50

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

language extension to the mailer #50

wants to merge 4 commits into from

Conversation

felarov
Copy link

@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