#15753Overwriting csh-labels in XClass doesn't work
Description
im writing a XCLASS-Extension and need some different description (locallang_csh.php). Therefore I use an other locallang_csh.php file and include it with:
t3lib_extMgm::addLLrefForTCAdescr(‘tx_aseventdb_events’,‘EXT:ks_eventdb/locallang_csh.php’);
But the help-window still displays the old Text…
investigating further I found that the TCA_DESCR-Array contains an Element
[refs] => Array
(
[0] => EXT:as_eventdb/locallang_csh.php
[1] => EXT:ks_eventdb/locallang_csh.php
)
but only the first file is loaded by lang.php when the method $LANG->loadSingleTableDescription($table); is called.
I fixed this issue by xclassing language::loadSingleTableDescription($table), where I replaced “$LOCAL_LANG = $this->includeLLFile($llfile,0,1);” with “$this->includeLLFile($llfile,1,1);” in line 352.
(issue imported from #M2746)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.