I am able to change the language of the user with built-in function of django
path('i18n/', include('django.conf.urls.i18n')),
In order to send email to user translated in his language, I want to know the activated language of the user.
How can I save the language of the in db?
Is there another way to know the language?
This is the session:
from django.utils import translation
request.session[translation.LANGUAGE_SESSION_KEY]