[TYPO3-mvc] XLIFF-support in fluid viewhelper
Thomas Hucke
thucke at web.de
Sat Mar 2 19:29:02 CET 2013
Hi list,
I could not find any information how to make translations (<f:translate key=
....) using XLIFF files.
I´ve got this XLF-File in EXT:Resources\Private\Language\locallang.xlf:
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages"
date="2013-03-01T17:33:10Z" product-name="th_rating">
<header/>
<body>
<trans-unit id="fluid.template.ratinglinks.currentRating"
xml:space="preserve">
<source>'Current rating is {currentRates} out of {stepCount}'</source>
</trans-unit>
</body>
</file>
</xliff>
And I try to acess this wihtin a FLUID template:
<f:translate key='fluid.template.ratinglinks.currentRating'/>
What am I doing wrong here?
Thanks
Thomas
More information about the TYPO3-project-typo3v4mvc
mailing list