Project

General

Profile

Actions

Bug #88936

closed

TCA config.default value can not be localized

Added by Christian Hackl over 5 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-08-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
TCA localization
Complexity:
Is Regression:
Sprint Focus:

Description

TCA config.default value can not be localized.
It shows not the value from the xlf file instead the complete "LLL:..." string.

Example:

'example_field' => [
    'label' => 'LLL:EXT:extKey/Resources/Private/Language/locallang.xlf:label',
    'description' => 'LLL:EXT:extKey/Resources/Private/Language/locallang.xlf:description',
    'config' => [
        'type' => 'input',
        'default' => 'LLL:EXT:extKey/Resources/Private/Language/locallang.xlf:default'
    ]
],

Actions

Also available in: Atom PDF