[TYPO3-english] labels from local language file

Bjarne Helligsoe bjarnehelligsoe at hotmail.com
Thu Jun 18 16:59:21 CEST 2009


Hi,

I am trying to use labels from lanuage file - and itsn't working!!!!

----------------------------------------------------
$LANG = t3lib_div::makeInstance('language');
$LANG-> 
includeLLFile('EXT:bbhcmms/resources/private/language/locallang_clickmenu.xml');
.
.
.

class clickMenu {
.
.
.

function label($label) {
return 
$GLOBALS['LANG']->sL('LLL:EXT:bbhcmms/resources/private/language/locallang_clickmenu.xml:'.$label,1);
}

.
.
}

----------------------------------------------------

When I am makig a label in my class by calling "label" it dosn't return 
anything????

Please help.

Best regards

Bjarne




More information about the TYPO3-english mailing list