Configuration translations cannot be shipped in modules/profiles

Created on 25 July 2025, 17 days ago

Problem/Motivation

Currently if a module ships configuration overrides in a language/af subdirectory of config/install - and the site has a language.entity.af configuration (shipped or not) - Config Overlay does not properly detect those overrides, even though they will be installed.

Not sure whether this ever properly worked in 1.x. (I thought I had fixed this in #2990245: Fix problems with multilingual sites but looking at the code now I don't think we were ever able to properly detect the collections properly from shipped configuration.)

Proposed resolution

  1. On import, detect which languages will exist after the transformation
  2. For each language do the config overlay transformation for the respective config collection

(In 1.x of this module 2. of the above worked, but I'm pretty sure 1. did not.)

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany tstoeckler Essen, Germany

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024