#59734Translating a CE containing inline elements doesn't apply language to inline elements
Description
Well this could be an OSI8 (user mistakes) but I’ve tried every possible combination of the flexform behavior configuration.
When I have a Content Element with a custom inline element configured by flexform and create some inline elements everything is fine. But when i choose to translate all contents to another language (localization) the inline elements are always active in the default language and every change will also be applied on default language elements.
Maybe the options localizationMode or localizeChildrenAtParentLocalization doesn’t work?
Heres an example flexform field configuration which won’t work fine with localization:
<config>
<type>inline</type>
<foreign_table>tx_tgmirrelinks_domain_model_link</foreign_table>
<minitems>0</minitems>
<maxitems>99</maxitems>
<foreign_sortby>sorting</foreign_sortby>
<foreign_match_fields>
<fieldname>themenLinks</fieldname>
</foreign_match_fields>
<appearance>
<useSortable>1</useSortable>
<showPossibleLocalizationRecords>1</showPossibleLocalizationRecords>
<showRemovedLocalizationRecords>1</showRemovedLocalizationRecords>
<showSynchronizationLink>1</showSynchronizationLink>
<createNewRelationLinkTitle>LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference</createNewRelationLinkTitle>
</appearance>
<behaviour>
<localizationMode>select</localizationMode>
<localizeChildrenAtParentLocalization>0</localizeChildrenAtParentLocalization>
</behaviour>
</config>
Step by Step:
- Create a flexform with an inline element
- Create some inline elements and save the CE in the default language
- Go to the localization view of the “Page” view and choose “Copy default content elements / Standardinhalte kopieren”
- Open the translated CE and watch the inline records of the default language are activated
Reviews 1
Related issues 4
- Bug #48883Wrong sys_language_uid in sys_file_reference
- Bug #56882Can not translate IRRE elements
- Bug #62562Flexforms - Translating with inline relations doesn't work
- Bug #63092Inline/IRRE records: language field of child records is not updated when modifying parent language field - e.g. problematic for sys_file_reference
History 1416
-
Tymoteusz Motylewski commented <span data-processor="relativetime" data-value="2014-06-20T20:09:34+00:00" > 06/20/14, 20:09 </span>
-
Mathias Schreiber commented and changed status
NewNeeds Feedback assigned to Mathias Schreiber <span data-processor="relativetime" data-value="2015-01-26T23:20:41+00:00" > 01/26/15, 23:20 </span>Hey guys,
can you check if this is still the case?
-
Fabian Schöner commented <span data-processor="relativetime" data-value="2015-05-21T08:30:02+00:00" > 05/21/15, 08:30 </span>
Hey Mathias,
i just hit the exact same issue as described here.
TYPO3 6.2.12.
Once you translate a CE with Flexform Inline Relations the records are “copied” in DB, but neither sys_language_uid nor l18n_parent are properly set.
It would work if those fields would be properly set (done that manually in database to test it). -
Alexander Opitz changed status
Needs FeedbackNew removed the assignee <span data-processor="relativetime" data-value="2015-08-24T14:27:28+00:00" > 08/24/15, 14:27 </span> -
Mathias Schreiber changed target version <span data-processor="relativetime" data-value="2015-11-12T17:15:28+00:00" > 11/12/15, 17:15 </span>
-
Markus Mächler Mächler commented <span data-processor="relativetime" data-value="2017-08-24T11:09:57+00:00" > 08/24/17, 11:09 </span>
This is still an issue in TYPO3 7.6. I think this is related to issue https://forge.typo3.org/issues/62562.
-
Markus Mächler Mächler changed Related to #62562 <span data-processor="relativetime" data-value="2017-08-24T11:10:35+00:00" > 08/24/17, 11:10 </span>
-
Loon Buster commented and changed TYPO3 Version
6.28 <span data-processor="relativetime" data-value="2018-07-26T21:24:39+00:00" > 07/26/18, 21:24 </span>..any news after 4 years? that’s so disappointed. sad, really sad.
-
Anonymous commented <span data-processor="relativetime" data-value="2018-10-17T18:10:07+00:00" > 10/17/18, 18:10 </span>
yep – nobody cares about flexform.
-
Gerrit Code Review pushed patch set 1 for master to change 61793 status
NewUnder Review <span data-processor="relativetime" data-value="2019-09-24T13:35:27+00:00" > 09/24/19, 13:35 </span> -
Gerrit Code Review pushed patch set 2 for master to change 61793 <span data-processor="relativetime" data-value="2019-09-25T13:48:39+00:00" > 09/25/19, 13:48 </span>
-
Christian Eßl changed target version <span data-processor="relativetime" data-value="2019-09-25T18:49:59+00:00" > 09/25/19, 18:49 </span>
-
Frank Gerards commented <span data-processor="relativetime" data-value="2022-09-15T18:08:55+00:00" > 09/15/22, 18:08 </span>
Any news on that for TYPO3 11+ ?? This still isnt fixed and a major flaw
-
Sybille Peters commented and changed status
Under ReviewNew <span data-processor="relativetime" data-value="2024-12-27T12:31:10+00:00" > 12/27/24, 12:31 </span>patch was abandoned: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61793
Setting from “Under Review” to “New” -
Franz Kugelmann commented <span data-processor="relativetime" data-value="2025-07-16T11:28:17+00:00" > 07/16/25, 11:28 </span>
Still an issue in v12.
Editors have no idea that there is an issue, because the language of the inline element is never checked.
lolli/dbdoctor InlineForeignFieldChildrenParentLanguageDifferent deletes those records. -
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-10-16T14:05:44+00:00" > 10/16/26, 14:05 </span>Reproduction setup using EXT:styleguide (#59734)
Status: not reproduced yet. Localizing a
tx_styleguide_flexrecord with a
inline child in the flex field (flex_3) via the List module works as expected
on currentmain.What was changed in EXT:styleguide
File:
typo3/sysext/styleguide/Configuration/TCA/tx_styleguide_flex_flex_3_inline_1_child.phpThe child table has
languageField,transOrigPointerFieldand
@translationSource@ inctrl, but the type did not show the fields, so the
language of a child record was invisible in the form.-'showitem' => 'input_1, file_1', +'showitem' => 'input_1, file_1, --div--;meta, hidden, sys_language_uid, l10n_parent, l10n_source',
Test data
tx_styleguide_flexuid 16, page 82, language 0,flex_3->inline_1= 2tx_styleguide_flex_flex_3_inline_1_childuid 16 and 17,parentid= 16,
language 0
Result so far
Localizing record uid 11 (page 858) into language 8 creates a translated parent
and a translated child withsys_language_uid= 8,l10n_parentand
@l10n_source@ set. The reported behaviour does not occur.therefore closing the issue.
if this still happens to you in v14, please create a new issue and add information how to reproduce it.
isn’t it a duplicate of #56882 ?