[TYPO3-core] RFC #12244: Improve locallangXMLOverride feature

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


Am 15.10.2009, 16:41 Uhr, schrieb Steffen Gebert  
<steffen at steffen-gebert.de>:

> Type: Feature improvement (of a new 4.3 feature)
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12244
>
> Problem:
> #11825 introduced a new way to override LL-XML files.
> Unfortunately it's as unflexible as the old XLLfile style, which was only
> usable for BE.
> With both, it's only possible to register one (1) file, which overrides
> another.
>
> Solution
> Let's improve this new feature to let a LL file be overridden by several
> files (e.g. by several extensions and user-defined labels) by looping  
> over
> the array.

After Benni liked my idea and supposed to move it from  
$T3CV[EXT][locallangXMLOverride] to $T3CV[SYS][XLLfile], here's an updated  
patch.

How to test:
* Install the attached langtest2 extension.
   It renames the logout button and the title of the shortcuts menu
* Place the LLoverride.xml file in typo3conf/
* Add the following lines to typo3conf/extTables.php
   $TYPO3_CONF_VARS['SYS']['XLLfile']['EXT:lang/locallang_core.php']['extTables.php']  
= 'typo3conf/LLoverride.xml';
   $TYPO3_CONF_VARS['SYS']['XLLfile']['EXT:lang/locallang_core.xml']['extTables.php']  
= 'typo3conf/LLoverride.xml';


> Hope you are happy and share my opinion that this new feature mustn't be
> as unflexible as the old one (regarding Backend label overriding).

Note:
Using $T3CV['BE']['XLLfile'] can be marked deprecated then. Will provide a  
patch, as soon as this is committed.

Thanks
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: T3X_langtest2-0_1_0-z-200910301718.t3x
Type: application/octet-stream
Size: 1416 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091030/6b9177b3/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 12244_v2.diff
Type: text/x-diff
Size: 3055 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091030/6b9177b3/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLoverride.xml
Type: text/xml
Size: 327 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091030/6b9177b3/attachment-0001.bin>


More information about the TYPO3-team-core mailing list