Also prevent overriding config translation

Created on 20 March 2023, almost 2 years ago
Updated 25 April 2023, over 1 year ago

Problem/Motivation

This module is useful to prevent overriding interface translation when importing config.
But it would also be useful to prevent overriding config when importing interface translation.
(Our use case is to keep config translation and interface translation completely separate.)

Steps to reproduce

  1. Add a string to interface translation that also exists in configuration.
  2. Configuration is overriden when importing translation.

(There is an explanation here πŸ› Installing a module causes translations to be overwritten Fixed about why Drupal does this.)

Proposed resolution

We could override the locale.config_manager service to prevent this.

But maybe having a separate contrib module for this would make more sense?

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France prudloff Lille

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

Comments & Activities

Production build 0.71.5 2024