[TYPO3-english] LLL: and template

Victor Livakovsky v-tyok at mail.ru
Wed Aug 4 11:26:46 CEST 2010


Hi.

> I'm writing my own extension for internal use. It has HTML template and
> supports localisation (it has locallang.xml in pi1 folder).
>
> To localize static text in template I'm using substituteMarkerArrayCached
> and getLL. Is there any way to write something like LLL:labelname in
> template and replace all this label automatic at once?

Have a look at 'formhandler' extension, which has such a feature built-in. 
It is implemented at 
ext:formhandler/Classes/View/Tx_Formhandler_View_Form.php -> 
fillLangMarkers()
Really powerful extension with powerful methods :) 



More information about the TYPO3-english mailing list