Project

General

Profile

Actions

Bug #102580

open

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

Added by Felix Nagel 6 months ago. Updated 4 months ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2023-12-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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" />

Expected output would be "some default text" but actual output is "".

Actions

Also available in: Atom PDF