[TYPO3-mvc] XLIFF-support in fluid viewhelper
Daniel Siepmann
daniel.siepmann at typo3.org
Sat Mar 2 19:38:07 CET 2013
Looks all fine. Did you clear the Cache as the language files are cached.
And did you try something without single quotes and curly braces to
test if there is a problem?
--
Daniel Siepmann
TYPO3 Editorial Team Co-Leader
TYPO3 .... inspiring people to share!
Get involved: typo3.org
On Sat, Mar 2, 2013 at 7:29 PM, Thomas Hucke <thucke at web.de> wrote:
> 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
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list