#108325Since TYPO3 V11 it's not possible anymore to use ':' in xliff files
Description
Before TYPO3 V11, we can use key in locallang files like this :
<trans-unit id="i18n:liquid" approved="yes">
<source>Liquid></source>
<target>Kapalina</target>
</trans-unit>
but since version 11 of TYPO3, this is no longer possible because LanguageService:sl() function explode the string by ‘ *:* ‘ and ignored the last part of the key.
This should be possible because it’s allowed with XML syntax.
Should take also care with TYPO3 V14 where we can also use this syntax new:
$languageService->sL('my_blog.frontend.forms:submit');Reviews 1
History 35
-
Gerrit Code Review pushed patch set 1 for main to change 91909 status
NewUnder Review <span data-processor="relativetime" data-value="2025-11-27T11:15:54+00:00" > 11/27/25, 11:15 </span> -
Gerrit Code Review pushed patch set 2 for main to change 91909 <span data-processor="relativetime" data-value="2025-11-27T11:45:03+00:00" > 11/27/25, 11:45 </span>
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2025-11-27T13:35:08+00:00" > 11/27/25, 13:35 </span>Applied in changeset commit:b80900a6454f0ecdcc435407f120978fc56bcd63.
-
Benni Mack changed status
ResolvedClosed <span data-processor="relativetime" data-value="2025-12-02T11:48:35+00:00" > 12/02/25, 11:48 </span>
Two easy patches to resolve this bug:
1/ in EXT:core
2/ in EXT:extbase