[Neos] Localization in Fluid Templates
Tristan Koch
typo3.org at tknetwork.de
Wed Mar 11 10:26:50 CET 2015
Hi,
I'm trying to localize a string in one of my Fluid templates using the <f:translate> view helper.
<f:translate id="imgDesc.more.label" />
I'd like to add the translation catalogue (XLIFF) to my site package. However, when I add <Site>/Resources/Private/Translations/de/Main.xlf I get the error:
No XLIFF file is available for TYPO3.Neos::Main::de in the locale chain.
Interestingly the error is the same if a deliberately invalidate the XML file (omitting a tag for example). It appears that the Translations folder is not added to the load path. This is confirmed by the fact that if I add the exact same Main.xlf files to Packages/Application/TYPO3.Neos/Resources/Private/Translations/ they get recognized.
I was under the impression a site package is an ordinary Flow package. Any ideas?
More information about the Neos
mailing list