[TYPO3-english] xlf file for BE module

Tomasz Krawczyk tomkrawc at gmail.com
Tue Nov 4 20:49:23 CET 2014


Isn't really possible to tell fluid template to use specific xlf file 
for all labels?

In case of my BE module I would have to use such instructions

<f:translate 
key="LLL:EXT:MyExtension/Resources/Private/Language/locallang_mod.xlf:some_label" 
/>

This makes my templates illegible.

regards
Tomek

W dniu 2014-10-29 21:03, Tomasz Krawczyk pisze:
> Hi list,
>
> In my ext I would like to use different xlf files for BE and for FE.
>
> I thought I will achieve that selecting locallang_mod.xlf in the
> registerModule method (6-th parameter - labels). But this is used only
> for a module name.
>
> Fluid uses locallang.xlf for labels by default. I don't want to use
> labels like that:
>
> <f:translate key="LLL:EXT:lang/locallang_common.xlf:from" />
>
> but in that way:
>
> <f:translate key="from" />
>
> How can I tell to Fluid to use locallang_mod.xlf file for all BE labels?
>
> regards
> Tomek



More information about the TYPO3-english mailing list