I'm using the most excellent django-allauth to handle authentication. All is well, but I have an issue with the email translations.
First, allauth is definitely using my template.
- I ran: django-admin.py makemessages -l ir -i settings.py
- This created: my_app/locale/ir/LC_MESSAGES/django.po
In django.po, I make this change:
templates/account/email/email_confirmation_subject.txt:3
msgid "Confirm E-mail Address"
msgstr "FARSI Confirm E-mail Address"Then to test, a user signs up on a page where the language is set (), but the email sent is not using what I put in the msgstr above.
I'd like to know have I misunderstood something, is this even how it's supposed to work?
来源:https://stackoverflow.com/questions/22067488/how-does-email-translation-work-with-django-allauth