[TYPO3-dev] includeLLFile() - force language

Brian Bendtsen nightowl at galnet.dk
Mon Sep 17 16:18:40 CEST 2007


Hi

Im using the function includeLLFile() in an extension like so:

$LANG = t3lib_div::makeInstance('language');
$LANG->includeLLFile('EXT:indmeldelse/locallang_db.xml');

loop begin
$LANG->getLL('tx_indmeldelse_medlem.'.$name)
loop end

and the labels are found but not in the right language.

My language is set to danish but the english labels are used. Can I tell 
this function to use the danish language?

/Brian Bendtsen




More information about the TYPO3-dev mailing list