diff --git a/core/modules/config_translation/src/ConfigEntityMapper.php b/core/modules/config_translation/src/ConfigEntityMapper.php index faf8991..aa371e0 100644 --- a/core/modules/config_translation/src/ConfigEntityMapper.php +++ b/core/modules/config_translation/src/ConfigEntityMapper.php @@ -151,6 +151,17 @@ public function setEntity(ConfigEntityInterface $entity) { $entity_type_info = $this->entityManager->getDefinition($this->entityType); $this->addConfigName($entity_type_info->getConfigPrefix() . '.' . $entity->id()); + // If the config entity is a bundle of a content entity, there might be + // base field overrides which should be translatable. + $ids = $this->entityManager->getStorage('base_field_override')->getQuery() + ->condition('entity_type', $entity_type_info->getBundleOf()) + ->condition('bundle', $entity->id()) + ->execute(); + + foreach ($ids as $id) { + $this->addConfigName("core.base_field_override.$id"); + } + return TRUE; }