- Issue created by @danylevskyi
- π³πΏNew Zealand quietone
Fixes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies. Also, 10.2 is in security mode now.
The URL prefix for language negotiation is not imported correctly from the configuration during site installation with existing config. Instead, it is overridden by the default value.
1. Go to the "Configure Interface Text Language Detection" page.
2. Enable the URL method for language detection.
3. Configure the URL method to have an empty prefix for the default language.
4. Export the configuration.
The exported configuration in language.negotiation.yml should look like this:
url:
source: path_prefix
prefixes:
uk: ''
en: en
At this point, language negotiation should work correctly.
5. Install the site using Drush with the existing configuration:
drush si --existing-config
6. Go back to the "Configure Interface Text Language Detection" page.
7. Observe the prefix value for the default language in the form.
Expected Result:
The form should display an empty value for the default language prefix as specified in the configuration.
Active
11.0 π₯
Fixes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies. Also, 10.2 is in security mode now.