You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Users expect to get e-mails in their native languages.
So the notification should somehow know and use user's language.
Does django-notification have this feature?
The text was updated successfully, but these errors were encountered:
Yes, there is a function called get_notification_language() (http://github.com/jtauber/django-notification/blob/master/notification/models.py#L199). It will use a setting NOTIFICATION_LANGUAGE_MODULE to load the user language from an arbitrary model and should be formatted like <app>.<model>. The model should have two fields: a foreignkey to the User class (user) and a language field (language) which stores the language code (e.g. en).
Users expect to get e-mails in their native languages.
So the notification should somehow know and use user's language.
Does django-notification have this feature?
The text was updated successfully, but these errors were encountered: