diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index 66557f3..581add4 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -380,7 +380,7 @@ function locale_system_set_config_langcodes(array $components) { $names = Locale::config()->getComponentNames($components); foreach ($names as $name) { - $config = \Drupal::configFactory()->getEditable($name); + $config = \Drupal::configFactory()->reset($name)->getEditable($name); // Should only update if still exists in active configuration. If locale // module is enabled later, then some configuration may not exist anymore. if (!$config->isNew()) {