#88126Translating Record with or without Inline Content
Description
My product extension has inline content for the product records.
TCA of my product:
'content_top' => [
'exclude' => 1,
'label' => 'LLL:EXT:my_ext/Resources/Private/Language/locallang_db.xlf:general_field.content_top',
'config' => [
'type' => 'inline',
'foreign_table' => 'tt_content',
'allowed' => 'tt_content',
'MM' => 'tx_myext_producttop_ttcontent_mm',
'foreign_sortby' => 'sorting',
'maxitems' => 9999,
'appearance' => [
'collapseAll' => 1,
'levelLinksPosition' => 'bottom',
'showSynchronizationLink' => 1,
'showPossibleLocalizationRecords' => 1,
'useSortable' => 1,
'showAllLocalizationLink' => 1,
],
'overrideChildTca' => [
'columns' => [
'CType' => [
'config' => [
'default' => 'textmedia',
],
],
],
],
],
],
When I create a product with a content item and then translate the product, the translated product has a link to the same content item. When I change the content item, the text is changed in both languages.
When I click on the “Localize all records” button I get the following error:
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 4
History 3
-
Chris Müller commented and changed attached translate_before.png attached translate_after.png <span data-processor="relativetime" data-value="2019-05-15T09:46:35+00:00" > 05/15/19, 09:46 </span>
-
Chris Müller changed subject
Translating Record with Inline ContentTranslating Record with or without Inline Content <span data-processor="relativetime" data-value="2019-05-16T07:55:46+00:00" > 05/16/19, 07:55 </span> -
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-10-17T05:41:31+00:00" > 10/17/26, 05:41 </span>I could not reproduce this on current
main(v14/v15-dev).I set up a record with an inline field backed by an MM table (
foreign_tablewith translatable children,showAllLocalizationLinkenabled) and ran the localization commands through the DataHandler:- localize: the translated parent does not point to the children of the default language record.
- localize followed by inlineLocalizeSynchronize (the “Localize all records” button): no error. The children are translated and the translated parent references its own translated children.
- copyToLanguage (free mode): the translated parent is created without children.
The localization of inline relations with MM was reworked since v9, so the reported behaviour does not occur anymore.
If this is still valid for you in v14, please open a new issue and provide information how to reproduce it. Thanks!
I experience a similar behaviour in TYPO3 9.5.6 with free mode: I have a content element with an IRRE relation (Header/Text/Image) in it:
translate_before.png
Now I click on “Translate” and follow the wizard. After that, I expect to have the content element copied to the second language. But instead, no content element on the second language and the IRRE relation is added to the default language:
translate_after.png
Edit: I see the problem also in TYPO3 9.5.7 – selecting all content elements in the wizard (it doesn’t matter if IRRE or not), only one content element (the first one) is copied to the second language, all other are ignored.