Project

General

Profile

Actions

Bug #86711

open

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

Added by Florian Rival about 6 years ago. Updated over 1 year ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Language Manager (backend)
Target version:
-
Start date:
2018-10-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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()

Actions #1

Updated by Florian Rival about 6 years ago

  • Category set to Language Manager (backend)
Actions #2

Updated by Benni Mack over 1 year ago

  • Status changed from New to Accepted

Can still reproduce this in v12.

Actions

Also available in: Atom PDF