Issue Bug Closed

#108325Since TYPO3 V11 it's not possible anymore to use ':' in xliff files

Florian Rival 11/26/25, 14:37 updated 12/02/25, 11:48

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