Load additional locallang.xml
This method will load additional lanaguage files. Simple change the language filename and path.
/**
* Load common frontend plugin lagnuage file.
*/
final public function pi_loadLL() {
parent::pi_loadLL();
$basePath = t3lib_extMgm::extPath($this->extKey).'res/lang/extensions.xml';
$tempLOCAL_LANG = t3lib_div::readLLfile($basePath, $this->LLkey);
$this->LOCAL_LANG = array_merge_recursive($tempLOCAL_LANG, is_array($this->LOCAL_LANG) ? $this->LOCAL_LANG : array());
if ($this->altLLkey) {
$tempLOCAL_LANG = t3lib_div::readLLfile($basePath, $this->altLLkey);
$this->LOCAL_LANG = array_merge_recursive($tempLOCAL_LANG, is_array($this->LOCAL_LANG) ? $this->LOCAL_LANG : array());
}
}







