Bug #90784

Form plugin - Finishers : cannot translate "empty" value in labels

Added by RVVN no-lastname-given 20 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2020-03-19
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,

In the backend form for finishers overriding, the part of labels displaying an empty default value seems not to be translatable.

We use locallang overriding in ext_localconf.php as following :

$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['fr']['EXT:form/Resources/Private/Language/Database.xlf'][] = 'EXT:rvvnfscforms/Resources/Private/Language/Overrides/fr.Database.xlf';

All of our overriding works except this :

<trans-unit id="empty" xml:space="preserve">
    <source>[Empty]</source>
    <target state="needs-translation">Test</target>
</trans-unit>

The issue may come from FinisherOptionGenerator (line 43) ? :

$this->languageService->includeLLFile('EXT:form/Resources/Private/Language/Database.xlf');

Related issues

Related to TYPO3 Core - Feature #85033: Form plugin - Finishers : Hardcoded label for empty default value Closed 2018-05-17

History

#1 Updated by RVVN no-lastname-given 20 days ago

  • Related to Feature #85033: Form plugin - Finishers : Hardcoded label for empty default value added

Also available in: Atom PDF