[TYPO3-dev] References to locallang.php files in core - needed anymore?
Andreas Kiessling
kiessling at pluspol.info
Thu Oct 7 18:11:43 CEST 2010
Hi,
i have to override some core labels and wanted to use the the
locallangXMLOverride feature. But this did not work when i tried to
change the page title:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:lang/locallang_tca.xml'][]
= 'PATH_TO_MY_XML';
I had to use
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['EXT:lang/locallang_tca.php'][]
= 'PATH_TO_MY_XML';
since the labels e.g. in t3lib/stddb/tables.php refer to the php file:
'label' => 'LLL:EXT:lang/locallang_tca.php:title',
Is this some kind of backwards compatibility thing? Otherwise i will
file a bug report, since i cannot remember having seen any locallang.php
files for a loooong time ;)
Regards,
Andreas
More information about the TYPO3-dev
mailing list