Logging does not work with translations

Created on 22 March 2024, 3 months ago
Updated 30 May 2024, about 1 month ago

Problem/Motivation

If the configuration has translations the output of the langcode is the following:

[notice] views.view.news (@langcode) rewritten by my_module
[notice] views.view.news (@langcode) rewritten by my_module

Bug can be found here:
https://git.drupalcode.org/project/config_rewrite/-/blob/8.x-2.x/src/Con...

Steps to reproduce

Create a multilingual configuration rewrite.

Proposed resolution

Proposed fix: Include the langcode in message attributes.

The result would something like:

[notice] views.view.news (fi) rewritten by my_module
[notice] views.view.news (sv) rewritten by my_module

Remaining tasks

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇫🇮Finland Kirsij

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024