[TYPO3-english] locallang_db.xml and FE

Steffen Kamper info at sk-typo3.de
Sat Oct 24 02:47:02 CEST 2009


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');

vg Steffen


More information about the TYPO3-english mailing list