Issue Bug Closed

#103505Overriding locallang labels from TypoScript does not work as expected

Andreas Kießling 03/29/24, 23:21 updated 08/11/26, 08:46

Description

The changes from https://github.com/TYPO3/typo3/commit/26bccb635f297f9b0300899557d922bc677f81a5 with // Populate the initial values with default, if no labels for the current language are given are buggy

Example:
Back link in EXT:news with German labels installed outputs Zurück

<f:translate key="back-link" />

Now override the default label with

plugin.tx_news._LOCAL_LANG.default.back-link = Back to list

Expected result:
default: Back to list
German: Zurück

Actual result:
default: Back to list
German: Back to list

This should NOT change the german translation like in previous versions.

Reviews 4