From 73d8a26e09dac728bdbf827a37d2bea99f7779e4 Mon Sep 17 00:00:00 2001
From: Kevin Ditscheid <kevin.ditscheid@sgalinski.de>
Date: Mon, 16 Nov 2020 16:07:09 +0100
Subject: [PATCH] [BUGFIX] Fix broken translation handling of authors

---
 Configuration/TCA/Overrides/pages.php | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Configuration/TCA/Overrides/pages.php b/Configuration/TCA/Overrides/pages.php
index 8f8f684..73f2340 100644
--- a/Configuration/TCA/Overrides/pages.php
+++ b/Configuration/TCA/Overrides/pages.php
@@ -206,7 +206,6 @@ $GLOBALS['TCA']['pages']['types'][\SGalinski\SgNews\Utility\BackendNewsUtility::
 		],
 		'tx_sgnews_news_author' => [
 			'exclude' => TRUE,
-			'l10n_exclude' => TRUE,
 			'label' => $localLangDbPath . 'pages.tx_sgnews_news_author',
 			'config' => [
 				'type' => 'group',
@@ -217,10 +216,19 @@ $GLOBALS['TCA']['pages']['types'][\SGalinski\SgNews\Utility\BackendNewsUtility::
 				'items' => [
 					['', ''],
 				],
+				'behaviour' => [
+					'allowLanguageSynchronization' => TRUE
+				],
+				'fieldWizard' => [
+					'localizationStateSelector' => TRUE
+				],
 				'fieldControl' => [
 					'addRecord' => [
 						'disabled' => FALSE,
 					],
+					'editPopup' => [
+						'disabled' => FALSE
+					]
 				],
 			],
 		],
-- 
GitLab