Project

General

Profile

Actions

Bug #81587

closed

Questionable behaviour of l10n_mode "exclude" in list module

Added by Christian Richter over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2017-06-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
l10n, translation
Complexity:
Is Regression:
Sprint Focus:

Description

I'm currently in the process of upgrading a TYPO3 7.6.16 instance to 8.7.1.
If I configure a field as

return [
    'ctrl' => [

        [...]

        'label' => 'subject',

        [...]

'subject' => [
    'exclude' => 0,
    'l10n_mode' => 'exclude',
    'label' => 'LLL:EXT:calendar/Resources/Private/Language/locallang_db.xlf:tx_calendar_domain_model_event.subject',
    'config' => [
        'type' => 'input',
        'size' => 30,
        'eval' => 'trim'
    ,
],

I have to import the default languages subject in both languages during record-creation, for it to be displayed in the list-module, even if I don't want the subject to be editable in the backend.

If the translated records subject is empty in the database, shouldn't the default records label getting displayed for less BE-editor confusion?

Best regards
Christian


Files

l10n_exclude_7_6_16.png (23 KB) l10n_exclude_7_6_16.png v7.6.16 the "subject" of the default language is shown Christian Richter, 2017-06-15 15:24
l10n_exclude_8_7_1.png (60.2 KB) l10n_exclude_8_7_1.png v8.7.1the "subject" of the translated record is shown, which is empty Christian Richter, 2017-06-15 15:24
Actions

Also available in: Atom PDF