Content Notifications are send in the wrong language #4045

Closed
opened 2026-02-05 08:04:59 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @JK1198 on GitHub (Aug 30, 2023).

Describe the Bug

I just tested the new notification system. For some testing before I have two accounts that are using different languages.
User A is set on English and User B is set on German (informal).
Now, if User A edits a page from User B, User B recieves the mail notification in English. It also works vice versa. Also if I switch the language from User A to e.g. Swedish, User B will recieve the mail partly in Swedish.

Steps to Reproduce

  1. User A sets preffered language to English
  2. User B sets preffered language to any other language e.g. German and enables the notifications
  3. User B creates a page
  4. User A edits the page
  5. User B receives the mail in English

Expected Behaviour

It should use the preffered language of the account which receives the notification.

Screenshots or Additional Context

No response

Browser Details

Checked the MS Edge and Firefox

Exact BookStack Version

v23.08

PHP Version

PHP 8.1

Hosting Environment

Debian 11, apache2 as webserver

Originally created by @JK1198 on GitHub (Aug 30, 2023). ### Describe the Bug I just tested the new notification system. For some testing before I have two accounts that are using different languages. User A is set on English and User B is set on German (informal). Now, if User A edits a page from User B, User B recieves the mail notification in English. It also works vice versa. Also if I switch the language from User A to e.g. Swedish, User B will recieve the mail partly in Swedish. ### Steps to Reproduce 1. User A sets preffered language to English 2. User B sets preffered language to any other language e.g. German and enables the notifications 3. User B creates a page 4. User A edits the page 5. User B receives the mail in English ### Expected Behaviour It should use the preffered language of the account which receives the notification. ### Screenshots or Additional Context _No response_ ### Browser Details Checked the MS Edge and Firefox ### Exact BookStack Version v23.08 ### PHP Version PHP 8.1 ### Hosting Environment Debian 11, apache2 as webserver
OVERLORD added the 🐛 Bug label 2026-02-05 08:04:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4045