[TYPO3-english] locallang_db.xml and FE

mario m at mariochiari.net
Sun Oct 25 21:36:27 CET 2009


Hi,

yes it works. Thanks very much.
My best wishes
mario

Il giorno sab, 24/10/2009 alle 02.47 +0200, Steffen Kamper ha scritto:
> Hi,
> 
> piBase only loads one file (hardcoded locallang.xml)
> 
> You can read any lang-file:
> $myLang = $GLOBALS['TSFE']->readLLfile('EXT:myExt/locallang_db.xml');
> 
> You can output any single label by using lang method:
> $GLOBALS['TSFE']->sL('EXT:myExt/locallang_db.xml:labelname'); 
for me it works with 'LLL:EXT:myExt/locallang_db.xml:labelname'
> 
> vg Steffen
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list