Issue Bug Rejected

#99672Localisation: Overwriting not possible

Kevin Appelt 01/23/23, 12:19 updated 11/13/26, 18:02

Description

I have defined a field “Media” in the TCA (removed the overrideChildTca part to make it more readable).

        'media' => [
            'exclude' => true,
            'label' => 'Media',
            'l10n_mode' => 'exclude',
            'l10n_display' => 'defaultAsReadonly',
            'config' => ExtensionManagementUtility::getFileFieldTCAConfig(
                'media',
                [
                    'maxitems' => 20,
                    'behaviour' => [
                        'allowLanguageSynchronization' => true,
                    ],
                ],
                $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
            ),
        ],

If I add files in the default language to this field, everything works as expected and I also see the files in the translations.

If I then change the “Translation behavior” from “Value of default language” to “Custom value” in a translation in the backend, however, nothing changes in the form. Even saving the record does not change anything.

I would expect to be able to override the value with the setting. With other fields (e.g. nav_hide in pages) the form already changes when the setting is changed (without having to save).

The browser console does not show any errors in Chrome.
The limit of “maxItems” has not been reached!

Reviews 0

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

History 4

  1. Benni Mack commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2025-04-13T12:13:31+00:00" > 04/13/25, 12:13 </span>

    Hey Kevin,

    as far as I understand your issue is that you cannot set “allowLanguageSynchronization” in childTCA in combination with columnsOverrides?

    This is not possible, because DataHandler does not know the “aggregate root” when putting a data array of the child record into the DataHandler. It’s just technically not possible

  2. Benni Mack commented and changed status Needs Feedback Rejected <span data-processor="relativetime" data-value="2026-11-13T18:02:47+00:00" > 11/13/26, 18:02 </span>

    Closing this one: It is by design to not change this option per subtype.