changing the default langugage doesn't update config until the next module install

Created on 21 February 2024, about 1 year ago

Problem/Motivation

In a multilingual site, when module is enabled, configuration is updated.

This causes LOTS of configuration updates that are unrelated to the module being updated.

Should this happen when the language is being changed?

Steps to reproduce

Step 1: enable a language. Config export says:

 [notice] Differences of the active config to the export directory:
+------------+----------------------+-----------+
| Collection | Config               | Operation |
+------------+----------------------+-----------+
|            | language.entity.de   | Create    |
|            | language.entity.und  | Update    |
|            | language.entity.zxx  | Update    |
|            | language.negotiation | Update    |
+------------+----------------------+-----------+

Step 2: Make the new language the site default. Config export says:

 [notice] Differences of the active config to the export directory:
+------------+----------------------+-----------+
| Collection | Config               | Operation |
+------------+----------------------+-----------+
|            | system.site          | Update    |
|            | language.negotiation | Update    |
+------------+----------------------+-----------+

Step 3: Enable a module. Config export says:

 [notice] Differences of the active config to the export directory:
+-------------+------------------------------------------------------+-----------+
| Collection  | Config                                               | Operation |
+-------------+------------------------------------------------------+-----------+
|             | block_content.type.basic                             | Update    |
|             | block.block.claro_secondary_local_tasks              | Update    |
|             | block.block.claro_primary_local_tasks                | Update    |

SNIP -- EVERYTHING got updated!!!!

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
LocaleΒ  β†’

Last updated 4 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024