[TYPO3-project-4-3] [TYPO3-core] RFC: #11825: Override FE labels with XML files

Steffen Gebert steffen at steffen-gebert.de
Thu Oct 22 18:35:21 CEST 2009


Am 14.10.2009, 15:26 Uhr, schrieb Steffen Gebert  
<steffen at steffen-gebert.de>:

>>> Problem:
>>> It's currently impossible to override FE labels with own labels defined
>>> in XML files. The only way to override labels in FE is via TS
>>> "_LOCAL_LANG", while overriding labels in BE is already possible with
>>> XML files ($TYPO3_CONF_VARS['BE']['XLLfile'])
>>>
>>> Solution:
>>> Add a new global $TYPO3_CONF_VARS['XLL'] to register XML overrides for
>>> FE _and_ BE labels and handle registered files in t3lib_div::readLLfile
>>> . FE TS _LOCAL_LANG overrides still takes precedence of registered XML
>>> files.
>>
>> As I just played around with XLL and locallangXMLOverride, I got a bit  
>> unhappy: With both ways, only one file can be registered to override a  
>> certain language file in Backend (same principle as XCLASSes).
>> Why don't we check  
>> $TYPO3_CONF_VARS['EXT']['EXT:lang/locallang_core.php'] for beeing an  
>> array and loop over all the entries and merge them.
>>
>> Although I gave my +1 back then, I'd see a real improvement with the  
>> new feature even for backend label modifications - it's like XCLASS and  
>> hooks :)
>>
>> What's your opinion?

Does nobody agree? I'm really for changing this! Before beta3 (last chance  
ever!)

Steffen


More information about the TYPO3-project-4-3 mailing list