diff --git a/Classes/Domain/Factory/FrontendContainerFactory.php b/Classes/Domain/Factory/FrontendContainerFactory.php index d01a61cb..cdcc7b62 100644 --- a/Classes/Domain/Factory/FrontendContainerFactory.php +++ b/Classes/Domain/Factory/FrontendContainerFactory.php @@ -35,6 +35,9 @@ public function buildContainer(ContentObjectRenderer $cObj, Context $context, ?i } $record = $records[0]; } + if ($record['sys_language_uid'] != 0 && $record['l18n_parent'] > 0) { + $record['uid'] = $record['l18n_parent']; + } if (!$this->tcaRegistry->isContainerElement($record['CType'] ?? '')) { throw new Exception('not a container element with uid ' . $uid, 1734946028); }