Issue Bug Closed

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

RVVN no-lastname-given 03/19/20, 11:19 updated 09/07/21, 07:42

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');

Reviews 1