#86711Typo3 translated text is suffixed with 'prependAtCopy' from TCA instead of being prefixed with "Translated to xxx:"
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
-
Florian Rival changed category <span data-processor="relativetime" data-value="2018-11-05T16:48:29+00:00" > 11/05/18, 16:48 </span>
-
Benni Mack commented and changed status
NewAccepted <span data-processor="relativetime" data-value="2023-08-11T20:41:41+00:00" > 08/11/23, 20:41 </span> -
Benjamin Kott commented and changed status
AcceptedClosed <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
Can still reproduce this in v12.