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

Steffen Gebert steffen at steffen-gebert.de
Wed Oct 14 15:26:23 CEST 2009


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

> Am 30.08.2009, 18:30 Uhr, schrieb Christian Kuhn <lolli at schwarzbu.ch>:
>
>> 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?
>
> Steffen
>
> P.S: It's my first time, I tried to move a topic to another Newsgroup...  
> hope it works.

Now it's also in 4-3 list...


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