Locale settings not respected when installing via existing configuration

Created on 27 September 2024, 3 months ago

Problem/Motivation

install.core.inc users a string literal for the locale server_pattern. That constant is also defined in the locale.module, so we should use that constant instead.

In addition to this, when installing Drupal from an existing configuration folder, locale config is completely ignored (ie: import_enabled or use_source).

The two things are connected because install.core.inc is hardcoding the values and not reading them from other places.

Steps to reproduce

Proposed resolution

Read from configuration if the site is being installed from configuration, and fallback into locale.module settings instead of hardcoding values.

Remaining tasks

MR

📌 Task
Status

Active

Version

11.0 🔥

Component

locale.module

Created by

🇪🇸Spain fjgarlin

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