Issue Bug Closed

#86711Typo3 translated text is suffixed with 'prependAtCopy' from TCA instead of being prefixed with "Translated to xxx:"

Florian Rival 10/22/18, 17:16 updated 08/24/26, 17:27

Description

When you translate a record with translation tool and IRRE record with “inline.synchronizeLocalizeRecords”, the translated text is suffixed with “prependAtCopy” defined in TCA instead of being prefixed with “Translate to xxx:”.

So you don’t know if it’s a copy or a translation.

1) have a multi-language installation
2) create a new content with IREE
3) translate the element in another language with translation wizard
4) translate an inline item with “inline.synchronizeLocalizeRecords” button

RESULT:

The copied content has title “xxxx (Copy X)” (copy X = prependAtCopy in TCA) instead of “Translated to:“
The translated IREE has title “xxxx (Copy X)” (copy X = prependAtCopy in TCA) instead of “Translated to:”

The reason is because the element is copied with DataHandler::copyRecord() in DataHandler::localize().

DataHandler::localize() -> DataHandler::copyRecord() -> DataHandler::getCopyHeader() -> DataHandler::prependLabel()

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Benni Mack commented and changed status New Accepted <span data-processor="relativetime" data-value="2023-08-11T20:41:41+00:00" > 08/11/23, 20:41 </span>

    Can still reproduce this in v12.

  2. Benjamin Kott commented and changed status Accepted Closed <span data-processor="relativetime" data-value="2026-08-24T17:27:26+00:00" > 08/24/26, 17:27 </span>

    Translated text suffixed with prependAtCopy instead of “Translated to xxx:“
    Resolved by: #109014 — [TASK] Extract localizeRecord() from DataHandler::copyRecord()
    cc880c67 · Gerrit 92881 · Releases: main · from v14.2.0, not in 13.4