From 4fd30373d5c21aa916b642f51c79262e05d42b45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Buchmann?= <andy.schliesser@gmail.com>
Date: Tue, 12 Oct 2021 11:23:15 +0200
Subject: [PATCH] [BUGFIX] Consider hideAtCopy and disableHideAtCopy for page
 translation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

In TYPO3 v8, new page translations within pages_language_overlay
were visible by default when using plain DataHandler.

In TYPO3 v9, due to the merge into "pages" for translations,
the default value for "hidden" is used. Every new page translation
was hidden by default - this was a different behavior.

Issue #88248 changed this and restored the behaviour how it was in
TYPO3 v8, this translated pages where always visible.

This patch consider TCA configuration 'hideAtCopy' and TSconfig setting
'TCEMAIN.table.pages.disableHideAtCopy' options for page translations
if source page is not already hidden. Further datahandler tests are
added to cover these cases and prevent regressions on that.

As the patch for #88248 already has been stating:

For future TYPO3 major versions, the hidden field could be migrated
into a 'allowLanguageSynchronization' once the Context API is used
throughout Core properly.

Resolves: #89622
Related: #88248

Releases: master
Change-Id: Iff0488c559201fa51071cb6f364edec8e148a05a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71556
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: Stefan Bürk <stefan@buerk.tech>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Reviewed-by: Stefan Bürk <stefan@buerk.tech>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
---
 .../core/Classes/DataHandling/DataHandler.php |  17 +-
 .../Regular/AbstractActionTestCase.php        | 152 ++++++++++++++++++
 .../Regular/Modify/ActionTest.php             |  72 +++++++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  29 ++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  29 ++++
 .../localizePageHiddenHideAtCopyFalse.csv     |  29 ++++
 ...denHideAtCopyNotDisableHideAtCopyUnset.csv |  29 ++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  29 ++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  29 ++++
 .../localizePageNotHiddenHideAtCopyFalse.csv  |  29 ++++
 ...denHideAtCopyNotDisableHideAtCopyUnset.csv |  29 ++++
 .../Regular/Discard/ActionTest.php            |  80 +++++++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  37 +++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  37 +++++
 ...HiddenHideAtCopyDisableHideAtCopyUnset.csv |  37 +++++
 .../localizePageHiddenHideAtCopyFalse.csv     |  37 +++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  37 +++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  37 +++++
 ...HiddenHideAtCopyDisableHideAtCopyUnset.csv |  37 +++++
 .../localizePageNotHiddenHideAtCopyFalse.csv  |  37 +++++
 .../Regular/Modify/ActionTest.php             |  72 +++++++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  39 +++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  39 +++++
 ...HiddenHideAtCopyDisableHideAtCopyUnset.csv |  39 +++++
 .../localizePageHiddenHideAtCopyFalse.csv     |  39 +++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  39 +++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  39 +++++
 ...HiddenHideAtCopyDisableHideAtCopyUnset.csv |  39 +++++
 .../localizePageNotHiddenHideAtCopyFalse.csv  |  39 +++++
 .../Regular/Publish/ActionTest.php            |  80 +++++++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  39 +++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  39 +++++
 ...HiddenHideAtCopyDisableHideAtCopyUnset.csv |  39 +++++
 .../localizePageHiddenHideAtCopyFalse.csv     |  39 +++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  39 +++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  39 +++++
 ...HiddenHideAtCopyDisableHideAtCopyUnset.csv |  39 +++++
 .../localizePageNotHiddenHideAtCopyFalse.csv  |  39 +++++
 .../Regular/PublishAll/ActionTest.php         |  80 +++++++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  39 +++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  39 +++++
 ...HiddenHideAtCopyDisableHideAtCopyUnset.csv |  39 +++++
 .../localizePageHiddenHideAtCopyFalse.csv     |  39 +++++
 ...nHideAtCopyDisableHideAtCopySetToFalse.csv |  39 +++++
 ...enHideAtCopyDisableHideAtCopySetToTrue.csv |  39 +++++
 ...HiddenHideAtCopyDisableHideAtCopyUnset.csv |  39 +++++
 .../localizePageNotHiddenHideAtCopyFalse.csv  |  39 +++++
 47 files changed, 2015 insertions(+), 2 deletions(-)
 create mode 100644 typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyNotDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyNotDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
 create mode 100644 typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyFalse.csv

diff --git a/typo3/sysext/core/Classes/DataHandling/DataHandler.php b/typo3/sysext/core/Classes/DataHandling/DataHandler.php
index 0594000b331a..18649cf18690 100644
--- a/typo3/sysext/core/Classes/DataHandling/DataHandler.php
+++ b/typo3/sysext/core/Classes/DataHandling/DataHandler.php
@@ -4537,8 +4537,8 @@ class DataHandler implements LoggerAwareInterface
             if (isset($fCfg['l10n_mode']) && $fCfg['l10n_mode'] === 'prefixLangTitle') {
                 if (($fCfg['config']['type'] === 'text' || $fCfg['config']['type'] === 'input') && (string)$row[$fN] !== '') {
                     $TSConfig = BackendUtility::getPagesTSconfig($pageId)['TCEMAIN.'] ?? [];
-                    $tE = $this->getTableEntries($table, $TSConfig);
-                    if (!empty($TSConfig['translateToMessage']) && !($tE['disablePrependAtCopy'] ?? false)) {
+                    $tableEntries = $this->getTableEntries($table, $TSConfig);
+                    if (!empty($TSConfig['translateToMessage']) && !($tableEntries['disablePrependAtCopy'] ?? false)) {
                         $translateToMsg = $this->getLanguageService()->sL($TSConfig['translateToMessage']);
                         $translateToMsg = @sprintf($translateToMsg, $siteLanguage->getTitle());
                     }
@@ -4583,6 +4583,19 @@ class DataHandler implements LoggerAwareInterface
             if (!empty($GLOBALS['TCA'][$table]['ctrl']['enablecolumns']['disabled'])) {
                 $hiddenFieldName = $GLOBALS['TCA'][$table]['ctrl']['enablecolumns']['disabled'];
                 $overrideValues[$hiddenFieldName] = $row[$hiddenFieldName] ?? $GLOBALS['TCA'][$table]['columns'][$hiddenFieldName]['config']['default'];
+                // Override by TCA "hideAtCopy" or pageTS "disableHideAtCopy"
+                // Only for visible pages to get the same behaviour as for copy
+                if (!$overrideValues[$hiddenFieldName]) {
+                    $TSConfig = BackendUtility::getPagesTSconfig($uid)['TCEMAIN.'] ?? [];
+                    $tableEntries = $this->getTableEntries($table, $TSConfig);
+                    if (
+                        ($GLOBALS['TCA'][$table]['ctrl']['hideAtCopy'] ?? false)
+                        && !$this->neverHideAtCopy
+                        && !($tableEntries['disableHideAtCopy'] ?? false)
+                    ) {
+                        $overrideValues[$hiddenFieldName] = 1;
+                    }
+                }
             }
             $temporaryId = StringUtility::getUniqueId('NEW');
             $copyTCE = $this->getLocalTCE();
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php
index 69c77d201517..95cfb84a98bb 100644
--- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/AbstractActionTestCase.php
@@ -478,6 +478,158 @@ abstract class AbstractActionTestCase extends AbstractDataHandlerActionTestCase
         $this->actionService->copyRecord(self::TABLE_Content, self::VALUE_ContentIdParent, self::VALUE_PageIdParent);
     }
 
+    public function localizePageNotHiddenHideAtCopyFalse(): void
+    {
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = false;
+
+        $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
+        $this->recordIds['localizedPageId'] = $localizedTableIds[self::TABLE_Page][self::VALUE_PageId];
+    }
+
+    public function localizePageHiddenHideAtCopyFalse(): void
+    {
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = false;
+
+        // @todo Add hidden page to importDefault.csv to make this database change superfluous.
+        $this->getConnectionPool()->getConnectionForTable(self::TABLE_Page)->update(
+            self::TABLE_Page,
+            [
+                'hidden' => 1,
+            ],
+            [
+                'uid' => self::VALUE_PageId,
+            ]
+        );
+
+        $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
+        $this->recordIds['localizedPageId'] = $localizedTableIds[self::TABLE_Page][self::VALUE_PageId];
+    }
+
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        // This is the default, but set it to be expressive for this test.
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = true;
+
+        $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
+        $this->recordIds['localizedPageId'] = $localizedTableIds[self::TABLE_Page][self::VALUE_PageId];
+    }
+
+    public function localizePageHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        // This is the default, but set it to be expressive for this test.
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = true;
+
+        // @todo Add hidden page to importDefault.csv to make this database change superfluous.
+        $this->getConnectionPool()->getConnectionForTable(self::TABLE_Page)->update(
+            self::TABLE_Page,
+            [
+                'hidden' => 1,
+            ],
+            [
+                'uid' => self::VALUE_PageId,
+            ]
+        );
+
+        $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
+        $this->recordIds['localizedPageId'] = $localizedTableIds[self::TABLE_Page][self::VALUE_PageId];
+    }
+
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        // This is the default, but set it to be expressive for this test.
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = true;
+
+        $this->getConnectionPool()->getConnectionForTable(self::TABLE_Page)->update(
+            self::TABLE_Page,
+            [
+                'TSconfig' => 'TCEMAIN.table.pages.disableHideAtCopy = 0',
+            ],
+            [
+                'uid' => self::VALUE_PageIdWebsite,
+            ]
+        );
+
+        $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
+        $this->recordIds['localizedPageId'] = $localizedTableIds[self::TABLE_Page][self::VALUE_PageId];
+    }
+
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        // This is the default, but set it to be expressive for this test.
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = true;
+
+        // @todo Add hidden page to importDefault.csv to make this database change superfluous.
+        $this->getConnectionPool()->getConnectionForTable(self::TABLE_Page)->update(
+            self::TABLE_Page,
+            [
+                'hidden' => 1,
+            ],
+            [
+                'uid' => self::VALUE_PageId,
+            ]
+        );
+        $this->getConnectionPool()->getConnectionForTable(self::TABLE_Page)->update(
+            self::TABLE_Page,
+            [
+                'TSconfig' => 'TCEMAIN.table.pages.disableHideAtCopy = 0',
+            ],
+            [
+                'uid' => self::VALUE_PageIdWebsite,
+            ]
+        );
+
+        $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
+        $this->recordIds['localizedPageId'] = $localizedTableIds[self::TABLE_Page][self::VALUE_PageId];
+    }
+
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        // This is the default, but set it to be expressive for this test.
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = true;
+
+        $this->getConnectionPool()->getConnectionForTable(self::TABLE_Page)->update(
+            self::TABLE_Page,
+            [
+                'TSconfig' => 'TCEMAIN.table.pages.disableHideAtCopy = 1',
+            ],
+            [
+                'uid' => self::VALUE_PageIdWebsite,
+            ]
+        );
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = true;
+        $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
+        $this->recordIds['localizedPageId'] = $localizedTableIds[self::TABLE_Page][self::VALUE_PageId];
+    }
+
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        // This is the default, but set it to be expressive for this test.
+        $GLOBALS['TCA'][self::TABLE_Page]['ctrl']['hideAtCopy'] = true;
+
+        // @todo Add hidden page to importDefault.csv to make this database change superfluous.
+        $this->getConnectionPool()->getConnectionForTable(self::TABLE_Page)->update(
+            self::TABLE_Page,
+            [
+                'hidden' => 1,
+            ],
+            [
+                'uid' => self::VALUE_PageId,
+            ]
+        );
+        $this->getConnectionPool()->getConnectionForTable(self::TABLE_Page)->update(
+            self::TABLE_Page,
+            [
+                'TSconfig' => 'TCEMAIN.table.pages.disableHideAtCopy = 1',
+            ],
+            [
+                'uid' => self::VALUE_PageIdWebsite,
+            ]
+        );
+
+        $localizedTableIds = $this->actionService->localizeRecord(self::TABLE_Page, self::VALUE_PageId, self::VALUE_LanguageId);
+        $this->recordIds['localizedPageId'] = $localizedTableIds[self::TABLE_Page][self::VALUE_PageId];
+    }
+
     public function changePageSorting(): void
     {
         $this->actionService->moveRecord(self::TABLE_Page, self::VALUE_PageId, -self::VALUE_PageIdTarget);
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php
index 14350e070950..1ac2a5c0cf6a 100644
--- a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php
@@ -772,6 +772,78 @@ class ActionTest extends AbstractActionTestCase
         $this->assertAssertionDataSet('localizeNestedPagesAndContents');
     }
 
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyFalse();
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyFalse();
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyNotDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyNotDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
     /**
      * @test
      * See DataSet/changePageSorting.csv
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..d0763c306531
--- /dev/null
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,29 @@
+"pages",,,,,,,,,,,,,,
+,"uid","pid","sorting","sys_language_uid","l10n_parent","deleted","hidden","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug"
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/"
+,50,0,512,0,0,0,0,0,0,0,0,0,"Second Root Page","/"
+,51,50,128,0,0,0,0,0,0,0,0,0,"DataHandlerTest in second tree","/data-handler"
+,52,51,128,0,0,0,0,0,0,0,0,0,"Relations in second tree","/data-handler/relations"
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler"
+,89,88,256,0,0,0,1,0,0,0,0,0,"Relations","/data-handler/relations"
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target"
+,91,88,256,1,89,0,1,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations"
+"sys_language",,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",
+"sys_refindex",,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..d0763c306531
--- /dev/null
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,29 @@
+"pages",,,,,,,,,,,,,,
+,"uid","pid","sorting","sys_language_uid","l10n_parent","deleted","hidden","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug"
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/"
+,50,0,512,0,0,0,0,0,0,0,0,0,"Second Root Page","/"
+,51,50,128,0,0,0,0,0,0,0,0,0,"DataHandlerTest in second tree","/data-handler"
+,52,51,128,0,0,0,0,0,0,0,0,0,"Relations in second tree","/data-handler/relations"
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler"
+,89,88,256,0,0,0,1,0,0,0,0,0,"Relations","/data-handler/relations"
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target"
+,91,88,256,1,89,0,1,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations"
+"sys_language",,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",
+"sys_refindex",,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyFalse.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..d0763c306531
--- /dev/null
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyFalse.csv
@@ -0,0 +1,29 @@
+"pages",,,,,,,,,,,,,,
+,"uid","pid","sorting","sys_language_uid","l10n_parent","deleted","hidden","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug"
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/"
+,50,0,512,0,0,0,0,0,0,0,0,0,"Second Root Page","/"
+,51,50,128,0,0,0,0,0,0,0,0,0,"DataHandlerTest in second tree","/data-handler"
+,52,51,128,0,0,0,0,0,0,0,0,0,"Relations in second tree","/data-handler/relations"
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler"
+,89,88,256,0,0,0,1,0,0,0,0,0,"Relations","/data-handler/relations"
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target"
+,91,88,256,1,89,0,1,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations"
+"sys_language",,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",
+"sys_refindex",,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyNotDisableHideAtCopyUnset.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyNotDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..d0763c306531
--- /dev/null
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyNotDisableHideAtCopyUnset.csv
@@ -0,0 +1,29 @@
+"pages",,,,,,,,,,,,,,
+,"uid","pid","sorting","sys_language_uid","l10n_parent","deleted","hidden","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug"
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/"
+,50,0,512,0,0,0,0,0,0,0,0,0,"Second Root Page","/"
+,51,50,128,0,0,0,0,0,0,0,0,0,"DataHandlerTest in second tree","/data-handler"
+,52,51,128,0,0,0,0,0,0,0,0,0,"Relations in second tree","/data-handler/relations"
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler"
+,89,88,256,0,0,0,1,0,0,0,0,0,"Relations","/data-handler/relations"
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target"
+,91,88,256,1,89,0,1,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations"
+"sys_language",,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",
+"sys_refindex",,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..5fcd660dc742
--- /dev/null
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,29 @@
+"pages",,,,,,,,,,,,,,
+,"uid","pid","sorting","sys_language_uid","l10n_parent","deleted","hidden","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug"
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/"
+,50,0,512,0,0,0,0,0,0,0,0,0,"Second Root Page","/"
+,51,50,128,0,0,0,0,0,0,0,0,0,"DataHandlerTest in second tree","/data-handler"
+,52,51,128,0,0,0,0,0,0,0,0,0,"Relations in second tree","/data-handler/relations"
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler"
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations"
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target"
+,91,88,256,1,89,0,1,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations"
+"sys_language",,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",
+"sys_refindex",,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..a77e7d03f94d
--- /dev/null
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,29 @@
+"pages",,,,,,,,,,,,,,
+,"uid","pid","sorting","sys_language_uid","l10n_parent","deleted","hidden","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug"
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/"
+,50,0,512,0,0,0,0,0,0,0,0,0,"Second Root Page","/"
+,51,50,128,0,0,0,0,0,0,0,0,0,"DataHandlerTest in second tree","/data-handler"
+,52,51,128,0,0,0,0,0,0,0,0,0,"Relations in second tree","/data-handler/relations"
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler"
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations"
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target"
+,91,88,256,1,89,0,0,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations"
+"sys_language",,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",
+"sys_refindex",,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyFalse.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..a77e7d03f94d
--- /dev/null
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
@@ -0,0 +1,29 @@
+"pages",,,,,,,,,,,,,,
+,"uid","pid","sorting","sys_language_uid","l10n_parent","deleted","hidden","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug"
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/"
+,50,0,512,0,0,0,0,0,0,0,0,0,"Second Root Page","/"
+,51,50,128,0,0,0,0,0,0,0,0,0,"DataHandlerTest in second tree","/data-handler"
+,52,51,128,0,0,0,0,0,0,0,0,0,"Relations in second tree","/data-handler/relations"
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler"
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations"
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target"
+,91,88,256,1,89,0,0,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations"
+"sys_language",,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",
+"sys_refindex",,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,
diff --git a/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyNotDisableHideAtCopyUnset.csv b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyNotDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..5fcd660dc742
--- /dev/null
+++ b/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyNotDisableHideAtCopyUnset.csv
@@ -0,0 +1,29 @@
+"pages",,,,,,,,,,,,,,
+,"uid","pid","sorting","sys_language_uid","l10n_parent","deleted","hidden","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug"
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/"
+,50,0,512,0,0,0,0,0,0,0,0,0,"Second Root Page","/"
+,51,50,128,0,0,0,0,0,0,0,0,0,"DataHandlerTest in second tree","/data-handler"
+,52,51,128,0,0,0,0,0,0,0,0,0,"Relations in second tree","/data-handler/relations"
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler"
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations"
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target"
+,91,88,256,1,89,0,1,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations"
+"sys_language",,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,
+"tt_content",,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",
+"sys_refindex",,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/ActionTest.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/ActionTest.php
index 579cda304200..56f818d9f19e 100644
--- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/ActionTest.php
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/ActionTest.php
@@ -390,6 +390,86 @@ class ActionTest extends AbstractActionTestCase
         $this->assertAssertionDataSet('localizePage');
     }
 
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyFalse();
+        $this->actionService->clearWorkspaceRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyFalse();
+        $this->actionService->clearWorkspaceRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->actionService->clearWorkspaceRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->actionService->clearWorkspaceRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->actionService->clearWorkspaceRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->actionService->clearWorkspaceRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->actionService->clearWorkspaceRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->actionService->clearWorkspaceRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
     /**
      * @test
      */
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..eca6b07ba166
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,37 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..eca6b07ba166
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,37 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..eca6b07ba166
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
@@ -0,0 +1,37 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..eca6b07ba166
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageHiddenHideAtCopyFalse.csv
@@ -0,0 +1,37 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..9b1f3eb901e9
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,37 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..9b1f3eb901e9
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,37 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..9b1f3eb901e9
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
@@ -0,0 +1,37 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..9b1f3eb901e9
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Discard/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
@@ -0,0 +1,37 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php
index 0db4b82f17fc..76fd2401ac09 100644
--- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/ActionTest.php
@@ -675,6 +675,78 @@ class ActionTest extends AbstractActionTestCase
             ->setTable(self::TABLE_Page)->setField('title')->setValues('[Translate to Dansk:] Relations'));
     }
 
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyFalse();
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyFalse();
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
     /**
      * @test
      */
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..6894d0b84f49
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,1,1,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"560d1e59437906ce8ecd07cbb8b61650","pages",91,"l10n_parent",,,,0,1,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..6894d0b84f49
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,1,1,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"560d1e59437906ce8ecd07cbb8b61650","pages",91,"l10n_parent",,,,0,1,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..6894d0b84f49
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,1,1,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"560d1e59437906ce8ecd07cbb8b61650","pages",91,"l10n_parent",,,,0,1,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..6894d0b84f49
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageHiddenHideAtCopyFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,1,1,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"560d1e59437906ce8ecd07cbb8b61650","pages",91,"l10n_parent",,,,0,1,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..f32b059aebc2
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,1,1,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"560d1e59437906ce8ecd07cbb8b61650","pages",91,"l10n_parent",,,,0,1,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..1af8d3773fd8
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,0,1,89,0,1,1,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"560d1e59437906ce8ecd07cbb8b61650","pages",91,"l10n_parent",,,,0,1,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..f32b059aebc2
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,1,1,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"560d1e59437906ce8ecd07cbb8b61650","pages",91,"l10n_parent",,,,0,1,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..1af8d3773fd8
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Modify/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,0,1,89,0,1,1,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"560d1e59437906ce8ecd07cbb8b61650","pages",91,"l10n_parent",,,,0,1,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/ActionTest.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/ActionTest.php
index 77644191e764..fdb280088aed 100644
--- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/ActionTest.php
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/ActionTest.php
@@ -531,6 +531,86 @@ class ActionTest extends AbstractActionTestCase
             ->setTable(self::TABLE_Page)->setField('title')->setValues('[Translate to Dansk:] Relations'));
     }
 
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyFalse();
+        $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyFalse();
+        $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->actionService->publishRecord(self::TABLE_Page, $this->recordIds['localizedPageId']);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
     /**
      * @test
      */
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..b85b3ff355ab
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..b85b3ff355ab
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..b85b3ff355ab
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..b85b3ff355ab
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageHiddenHideAtCopyFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..4435e14913ce
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..c8f7177bc2dc
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,0,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..4435e14913ce
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..c8f7177bc2dc
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/Publish/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,0,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/ActionTest.php b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/ActionTest.php
index fd87acceaf9b..d90a7b778d39 100644
--- a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/ActionTest.php
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/ActionTest.php
@@ -516,6 +516,86 @@ class ActionTest extends AbstractActionTestCase
             ->setTable(self::TABLE_Page)->setField('title')->setValues('[Translate to Dansk:] Relations'));
     }
 
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyFalse();
+        $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyFalse();
+        $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopyUnset(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopyUnset();
+        $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopyUnset');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse();
+        $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+        $this->assertAssertionDataSet('localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
+    /**
+     * @test
+     */
+    public function localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue(): void
+    {
+        parent::localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue();
+        $this->actionService->publishWorkspace(self::VALUE_WorkspaceId);
+        $this->assertAssertionDataSet('localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue');
+    }
+
     /**
      * @test
      * This test creates a page on pid=88 (unlike other tests) and moves the new draft page on that exact level, in order to only modify the "sorting"
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..b85b3ff355ab
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..b85b3ff355ab
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..b85b3ff355ab
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyDisableHideAtCopyUnset.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..b85b3ff355ab
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageHiddenHideAtCopyFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,1,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
new file mode 100644
index 000000000000..4435e14913ce
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
new file mode 100644
index 000000000000..c8f7177bc2dc
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopySetToTrue.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,0,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
new file mode 100644
index 000000000000..4435e14913ce
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyDisableHideAtCopyUnset.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,1,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
diff --git a/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyFalse.csv b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
new file mode 100644
index 000000000000..c8f7177bc2dc
--- /dev/null
+++ b/typo3/sysext/workspaces/Tests/Functional/DataHandling/Regular/PublishAll/DataSet/localizePageNotHiddenHideAtCopyFalse.csv
@@ -0,0 +1,39 @@
+"pages",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","hidden","sys_language_uid","l10n_parent","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","title","slug",,,
+,1,0,256,0,0,0,0,0,0,0,0,0,"FunctionalTest","/",,,
+,88,1,256,0,0,0,0,0,0,0,0,0,"DataHandlerTest","/data-handler",,,
+,89,88,256,0,0,0,0,0,0,0,0,0,"Relations","/data-handler/relations",,,
+,90,88,512,0,0,0,0,0,0,0,0,0,"Target","/data-handler/target",,,
+,91,88,256,0,0,1,89,0,0,0,0,0,"[Translate to Dansk:] Relations","/data-handler/translate-to-dansk-relations",,,
+"sys_workspace",,,,,,,,,,,,,,,,,
+,"uid","pid","deleted","title","adminusers","members","db_mountpoints","file_mountpoints","freeze","live_edit","publish_access","custom_stages","stagechg_notification","edit_notification_defaults","edit_allow_notificaton_settings","publish_notification_defaults","publish_allow_notificaton_settings"
+,1,0,0,"Workspace #1",,,,,0,0,0,0,0,0,0,0,0
+,2,0,0,"Workspace #2",,,,,0,0,0,0,0,0,0,0,0
+"sys_workspace_stage",,,,,,,,,,,,,,,,,
+,"uid","pid","tstamp","deleted","sorting","title","responsible_persons","default_mailcomment","parentid","parenttable","notification_defaults","allow_notificaton_settings",,,,,
+,1,0,1290048921,0,1,"Stage 1","be_users_3",,1,"sys_workspace",0,0,,,,,
+"sys_language",,,,,,,,,,,,,,,,,
+,"uid","pid","hidden","title","flag",,,,,,,,,,,,
+,1,0,0,"Dansk","dk",,,,,,,,,,,,
+,2,0,0,"Deutsch","de",,,,,,,,,,,,
+"tt_content",,,,,,,,,,,,,,,,,
+,"uid","pid","sorting","deleted","sys_language_uid","l18n_parent","l10n_source","t3_origuid","t3ver_wsid","t3ver_state","t3ver_stage","t3ver_oid","header",,,,
+,296,88,256,0,0,0,0,0,0,0,0,0,"Regular Element #0",,,,
+,297,89,256,0,0,0,0,0,0,0,0,0,"Regular Element #1",,,,
+,298,89,512,0,0,0,0,0,0,0,0,0,"Regular Element #2",,,,
+,299,89,768,0,0,0,0,0,0,0,0,0,"Regular Element #3",,,,
+,300,89,1024,0,1,299,299,299,0,0,0,0,"[Translate to Dansk:] Regular Element #3",,,,
+,301,89,384,0,1,297,297,297,0,0,0,0,"[Translate to Dansk:] Regular Element #1",,,,
+,302,89,448,0,2,297,301,301,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #1",,,,
+,310,90,256,0,0,0,0,0,0,0,0,0,"Regular Element #10",,,,
+,311,90,512,0,1,0,310,310,0,0,0,0,"[Translate to Dansk:] Regular Element #10",,,,
+,312,90,768,0,2,0,311,311,0,0,0,0,"[Translate to Deutsch:] [Translate to Dansk:] Regular Element #10",,,,
+,320,89,512,0,0,0,0,298,2,2,0,298,"Regular Element #2",,,,
+"sys_refindex",,,,,,,,,,,,,,,,,
+,"hash","tablename","recuid","field","flexpointer","softref_key","softref_id","sorting","workspace","ref_table","ref_uid","ref_string",,,,,
+,"01a3ce8c4e3b2bb1aa439dc29081f996","sys_workspace_stage",1,"responsible_persons",,,,0,0,"be_users",3,,,,,,
+,"1130084e4038e95f2d5806b731cd416a","tt_content",300,"l18n_parent",,,,0,0,"tt_content",299,,,,,,
+,"25426f92d44dd2ccf416108462b446e3","sys_workspace",1,"custom_stages",,,,0,0,"sys_workspace_stage",1,,,,,,
+,"25f3b71b67f29fa33fbfd4fa2d930b70","tt_content",302,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"4a1e04a83a4a17882682d86f6cd61f3d","tt_content",301,"l18n_parent",,,,0,0,"tt_content",297,,,,,,
+,"583b9974d1df1d9efb695cdabfe53a73","pages",91,"l10n_parent",,,,0,0,"pages",89,,,,,,
-- 
GitLab