Issue Bug Closed

#91061Locallang file not properly used for TCA type select items in 9.5.15

Stefan Terborg 04/16/20, 11:00 updated 04/22/20, 23:31

Description

When setting items for a select field the labels via locallang file are not displayed but instead the path to the language file with key.

TCA configuration:

...
'config' => [
                'type' => 'select',
                'renderType' => 'selectSingle',
                'items' => [
                    ['LLL:EXT:my_extension/Resources/Private/Language/locallang_db.xlf:item.0', 0],
                    ['LLL:EXT:my_extension/Resources/Private/Language/locallang_db.xlf:item.1', 1],
...

Expected behaviour: display language entries in select (My entry one, My entry two)
Actual behaviour: displaying paths to language file (LLL:EXT:my_extension/Resources/Private/Language/locallang_db.xlf:item.0, LLL:EXT:my_extension/Resources/Private/Language/locallang_db.xlf:item.1)

This happens in TYPO3 9.5.15 not in 9.5.14

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.