I believe that when you detect the language you could store in the user profile the selected language (either it was automatic or manual), when sending your email just check that
On Fri, Oct 5, 2012 at 11:12 AM, Bastian <[email protected]> wrote: > Hi, > > I understand quite well how translations and i18n work inside a browser > for Django but I'm not sure about the correct way to do it outside a > browser. I mean when sending a mail or a tweet. What should I use to get > the language of the user that is going to receive the mail or in case of a > tweet the language of the user that I will send it on behalf of. And then > how do I ask Django to translate that? > I could not find it in the docs, if it exists please point me to it. > > Cheers > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/ikoUTSyxuykJ. > To post to this group, send email to [email protected]. > 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. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

