Use user preferred language for log message fix

Created on 5 April 2023, almost 2 years ago
Updated 29 April 2023, over 1 year ago

Problem/Motivation

We have a multilingual site, where administrators can be of different languages. In some cases, an administrator does not get the log message in their preferred language, but in the language of the user editing the node.

Steps to reproduce

  • Have 2 languages enabled (EN and NL), where the content and interface language are separate
  • Create 2 administrators, with different preferred language: admin NL and admin EN
  • As admin NL create a node in NL (the default language of admin NL) and subscribe to it
  • As admin EN edit the node
  • See as admin NL that a log message has been added in the wrong language: EN

The log message is created in EN because the admin EN is editing the node. It is never rewritten, because the preferred language of the subscribed admin is NL and the node language is also NL.

Proposed resolution

Compare the user language to the current language and not the node language.

Remaining tasks

create merge request

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇳🇱Netherlands spadxiii

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024