Project

General

Profile

Actions

Bug #79983

closed

TCA l10n_mode="exclude" copies value from default language to localized version in TYPO3 8.6

Added by Alex Kellner over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2017-02-23
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In powermail we need a possibility to set a field value for field marker.
I want to have the value in default language but an empty value for translation.

So documenation to l10n_mode (see https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Index.html#l10n-mode) says for value exclude:

... Excluded fields will not be copied when a language-copy is made. May have frontend implications.

If I localize a field in powermail, the value is still copied to the localized record.

I created a very simple extension, to attach to this ticket to give you a quick example.
Just localize a record and you will see that the value of the field with l10n_mode=exclude is also copied.
In TYPO3 7.6 the value was empty in the localization.


Files

l10nmode_0.0.0.zip (2.49 KB) l10nmode_0.0.0.zip Alex Kellner, 2017-02-23 22:29
Actions #1

Updated by Frans Saris over 7 years ago

This is the new location behavior of TYPO3 8.

All fields are filled and the datahandler makes sure the exclude fields are kept in sync with the default language

Actions #2

Updated by Thorsten Kahler over 7 years ago

  • Category set to Localization
Actions #3

Updated by Christian Kuhn over 7 years ago

  • Status changed from New to Rejected

Yes. l10n_mode=exclude now means the value in the language overlay record is always identical to the value of the default language, the DataHandler keeps that in sync. You probably need to look up in TCA instead, if that field has l10n_mode exclude set, and if yes, act accordingly.

Actions #4

Updated by Alex Kellner over 7 years ago

Ok, I understood that the documentation is outdated. Nevertheless, the localized value is not synced in TYPO3 8.6.1 if I change the default value afterwards:

Actions

Also available in: Atom PDF