Issue Task Closed

#79244Streamline l10n_mode exclude data processing

Oliver Hader 01/10/17, 12:15 updated 12/02/25, 14:36

Description

Basically localizations can happen in two different modes – either the connected mode (localization belongs to a parent language record) or the free mode (localization has a language, but does not depend on any parent).

For fields having l10n_mode set to exclude in the connected mode, the values of the parent language record shall be cloned to all particular and dependent localization records each time the parent record gets updated (or created).
On the other side l10n_mode exclude does not make much sense in the free mode, since there’s no concept of any parent in that regard. In this scenario the value is cloned from the parent language record once during the creation of the localization record. In the context of the localization, the field value is shown and can be modified without any restrictions.

Reviews 7

History 1114

  1. Susanne Moog commented and changed status New Needs Feedback assigned to Oliver Hader <span data-processor="relativetime" data-value="2019-03-03T16:43:07+00:00" > 03/03/19, 16:43 </span>

    Is this task still up-to-date? Afaics the value of l10n exclude fields is already copied when translating.

  2. Oliver Hader commented and changed status Needs Feedback Accepted <span data-processor="relativetime" data-value="2020-03-24T11:48:51+00:00" > 03/24/20, 11:48 </span>

    Seems like this has been addressed in #80141 already (after this very issue has been created).

    l10n_mode=exclude for free mode: Record 298 is copied to language 1 as record 303

    https://github.com/TYPO3/TYPO3.CMS/blob/d38fee08423d4ee943b7b0bad78a7675e92977ff/typo3/sysext/core/Tests/Functional/DataHandling/Regular/Modify/DataSet/copyContentToLanguageWExclude.csv#L10

    l10n_mode=exclude for connected mode: Missing test case

    → there should be a new test case localizeContentWithLocalizationExclude

  3. Benni Mack commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-04-12T20:25:08+00:00" > 04/12/25, 20:25 </span>

    Applied in changeset commit:6c57d537d4883588f0298da142778e5223006501.