#99672Localisation: Overwriting not possible
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
-
Benni Mack changed Sprint Focus Stabilization Sprint <span data-processor="relativetime" data-value="2023-06-06T13:14:46+00:00" > 06/06/23, 13:14 </span>
-
Riccardo De Contardi changed category <span data-processor="relativetime" data-value="2024-05-19T17:07:10+00:00" > 05/19/24, 17:07 </span>
-
Benni Mack commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2025-04-13T12:13:31+00:00" > 04/13/25, 12:13 </span> -
Benni Mack commented and changed status
Needs FeedbackRejected <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.
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