I have set up an .xlf localisation file in a TYPO3 6.2 extbase extension under Resources/Private/Language, named fr.locallang.xlf
.
It looks like this
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<xliff version="1.0">
<file source-language="de" datatype="plaintext" original="messages" date="2014-11-05T12:20:37Z" product-name="extname" target-language="fr">
<header/>
<body>
<trans-unit id="tx_extname_domain_model_item">
<source>German Term</source>
<target>French Term</target>
</trans-unit>
</body>
</file>
</xliff>
Typoscript:
[globalVar = GP:L = 1]
config {
sys_language_uid = 1
language = fr
htmlTag_langKey = fr
locale_all = fr_FR.utf-8
}
[global]
Translations aren't showing in the frontend. What do I have to do to make them show? Or is there a workaround, like getting back to xml in extbase? Else, I'll have to use constants and pass them in as Variables...