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

Steffen Gebert steffen at steffen-gebert.de
Fri Oct 30 17:25:48 CET 2009


Am 30.10.2009, 14:23 Uhr, schrieb Benjamin Mack <benni at typo3.org>:

> Hey,
>
> On 14.10.09 10:35, Steffen Gebert wrote:
>> 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?
>>
> Sounds reasonable, I'd like to have one single place to override XML  
> files, right now we have two.
>
>   $TYPO3_CONF_VARS['SYS']['XLLfile']['EXT:lang/locallang_core.xml']
>
> which is an array for each file and merges the overriden labels.
>
> Sounds good?

IMHO yes :)

Updated patch available in #12244

Thanks
Steffen


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