Project

General

Profile

Actions

Bug #88126

open

Translating Record with or without Inline Content

Added by Patrick Bloch about 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2019-04-10
Due date:
% Done:

0%

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

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:


Files

product.jpg (35.7 KB) product.jpg Patrick Bloch, 2019-04-10 10:03
product-error.jpg (14.8 KB) product-error.jpg Patrick Bloch, 2019-04-10 10:03
translate_before.png (32.6 KB) translate_before.png Before translate Chris Müller, 2019-05-15 09:43
translate_after.png (47.3 KB) translate_after.png After translate Chris Müller, 2019-05-15 09:43

Updated by Chris Müller almost 5 years ago

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:

Before translate

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:

After translate

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.

Actions #2

Updated by Chris Müller almost 5 years ago

  • Subject changed from Translating Record with Inline Content to Translating Record with or without Inline Content
Actions

Also available in: Atom PDF