- ๐บ๐ธUnited States smustgrave
This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request โ as a guide.
This new feature request will require test coverage.
Adding the new configuration option will require an upgrade path for existing sites.
That new field may need a change record as well.Thanks.
- last update
over 1 year ago Patch Failed to Apply - ๐ฉ๐ชGermany Antonรญn Slejลกka Hannover
I get the following error message after composer update:
Cannot apply patch #3150540 Config in en (patches/core/3150540-30.patch)!
I have started a new test for 3150540-30.patch. The test failed: https://www.drupal.org/pift-ci-job/2657165 โ
- ๐ซ๐ทFrance ericdsd France
This is quite logical as https://www.drupal.org/project/drupal/issues/2806009 ๐ Installing a module causes translations to be overwritten Fixed has been fixed and committed in 9.5.9 release, i didn't test it yet but it should address this issue too.
- last update
over 1 year ago Patch Failed to Apply - ๐ฑ๐ปLatvia kalvis Riga
Rerolled the patch from #30 against latest 9.5.x as it no longer applied due to some recent changes in core.
NB! For the patch to take effect, after applying you need to untick the new checkbox in /admin/config/regional/translate/settings :)Couple of things I adjusted:
- Renamed the newenable_set_config_langcodes
setting toupdate_default_config_langcodes
and updated some of the descriptions to be more aligned with the variable namings/descriptions that are already in core.
- Fixed the default value assignment in settings form - if no value was present in config yet, checkbox was not selected (while it should be according to the defaults)
- Removed the alteration part, not sure if it's really needed. But please feel free to add it back if so :)
Here's the full diff, if you interested: https://www.drupal.org/files/issues/2023-05-24/reroll_diff_30_36.txt โ@ericdsd I tested with latest 9.5.x release on the same project which @Rade was working on when reporting this problem an it was still present. Thus the rerolled patch :)
- last update
over 1 year ago 30,367 pass - last update
over 1 year ago 30,311 pass, 2 fail - ๐ฉ๐ชGermany arnalyse
Just for completeness sake: Drupal 9.5.9 has removed the calls to
locale_system_set_config_langcodes()
which were former placed inlocale_themes_installed()
andlocale_modules_installed()
.If I'm not mistaken
locale_system_set_config_langcodes()
isn't called anywhere else. - ๐ช๐ธSpain edurenye
Seems like sometimes it does not work, but I'm not quite sure which conditions make it to not work, so I have the default language in Swedish, but we want the base config in English and have the translations in Swedish.
And most of the time it works but then today I changed some permissions and when I exported it wanted to add the labels in Swedish to the English base exported config, really weird. - ๐ช๐ธSpain edurenye
The patch does no longuer apply to Drupal 10.2.2.
And `Locale::config()->updateDefaultConfigLangcodes();` is not called in `locale_system_set_config_langcodes()` anymore.Not sure if the issue will still happen or if this should be fixed now.
- ๐ง๐ชBelgium kriboogh
#40 works for us.
I think config management in drupal should be that, all config is considered English always and if you install a different language, translatable keys in config are then dealt with using normal locale translation by default, or by a language config override if that's present.
- Merge request !9103Issue #3150540 by kriboogh: Configuration langcode is forced to site default language โ (Open) created by kriboogh
- ๐ง๐ชBelgium kriboogh
Created MR for 11.x based on patch from #42.
Added patch of MR for use in composer.
Applies to 11.x and 10.3.x.