|
And now it's really fixed: http://bitbucket.org/filmaster/filmaster-test/changeset/e39bff41cecf/
OK, I'm officially stupid now.
Fixed, yet again: http://bitbucket.org/filmaster/filmaster-test/changeset/d103dba19e20/ Added one more fix: http://bitbucket.org/filmaster/filmaster-test/changeset/4e031d60b547/ - a quick and nasty one, for links. This needs to be resolved in a nicer way later.
This need to reimplemented:
- mark pending notifications with current language in database - launch notification sending tasks for all localizations independently - remove the code that messes with languages while sending the notification |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Adding this setting is required now to indicate the user Profile: NOTIFICATION_LANGUAGE_MODULE = 'core.profile'
We're using the user's LANG setting to determine the primary language for the user now (and as django-notifications requires it to be called "language" instead of LANG, a small hack using property and lambda was required)