Notifications are created in an English context, not the current language

Vote:
 

I've been using the new notification system in Episerver for a short time. Finally it seems to be up an running. But I have a strange problem. When I build the notification messages (NotificationMessage) I fetch language resources using LocalizationService. These are always in English, even if Episerver is set up to using another language. Has anybody else experienced this?

Regards,

Bjørn Terje Svennes

#176393
Mar 17, 2017 14:52
Vote:
 

By explicitly setting the culture using ContentLanguage.PreferredCulture the texts have the correct translation.

#176624
Mar 23, 2017 9:19
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.