Issue Bug Rejected

#102580Translate ViewHelper does not use default argument when non existing key is given

Felix Nagel 12/01/23, 16:02 updated 12/30/24, 11:41

Description

When using the translate ViewHelper in TYPO3 12.4.8 with a non existing key the default value is ignored. This worked in TYPO3 11.5.x and before.

Example:
<f:translate key="non.existing.key" default="some default text"></f:translate>

Expected output would be “some default text” but actual output is “”.

Reviews 0

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