[TYPO3-dev] Add additinal language file for a frontend plugin

Sebastian Gebhard sebastian.gebhard at gmail.com
Thu Jan 28 10:19:34 CET 2010


Am 28.01.2010 10:00, schrieb Tapio Markula:
> Søren Malling kirjoitti:
>> Hi,
>>
>> What about this:
>>
>> $lang = t3lib_div::makeInstance('language');
>> $lang->sL('LLL:EXT:your_extension/additional_locallang.xml:string_name')
>
> but that doesn't merge two language files usable in '$this->pi_getLL('')
> how to merge files
I'm not sure, it's just an untested idea, but maybe you can read in your 2nd file and put it into 
$conf['_LOCAL_LANG.'] before $this->pi_loadLL();
You would need to convert the XML to TypoScript/Array format.




More information about the TYPO3-dev mailing list