[TYPO3-core] RFC: enable localization for section titles (bugfix)

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Jul 12 13:04:12 CEST 2006


Dmitry Dulepov schrieb:
> Hi!
> 
> Martin Kutschker wrote:
> 
>> Seems reasonable, but what is this reference to TV in the Core?!?!

This was meant as a +1 as I feared such an answer...

> It was there for ages... I think it was introduced by Kasper. Ideally, 
> code should look like:
> 
> 
> foreach($value['el'] as $kk => $vv) {
>   foreach ($value['el'][$kk] as $jj => $uu) {
>     $opt[] = '<option value="'.$kk.'">'.\
>              htmlspecialchars('NEW "'.
>              $this->sL(
>                $value['el'][$kk][$jj]['title']).'"').
>              '</option>';                       
>   }
> }
> 
> but it requires many changes in that file.

Another project: "Search and destroy the external dependencies" and remove 
hardcoded stuff like "if (tt_*) do this" in the TYPO3 BE libs.

> Even Typo3 core docs (see "Core APIs") also reference TV when talk about 
> flexforms.

I understand that flexforms were created during the making of TV, but I'd 
appreciate that especially those with the big picture in mind would not 
mingle their current projects with the existing Core. *

> In my opinion this dependency is bad (such as TV's dependency on rarely 
> used lorem_ipsum extension) but it is a separate work to remove such 
> dependency. For now I do not want to do such a big change.

There are other dependecies to lorem_ipsum within the shipped exensions 
(3.8 at least). Kasper told me once that it was easier to do it this way 
(instead of creating a hook).

Masi

* Eg a discussion on XML formats would have saved us also many of the 
peculiarietes that the flex form format has.



More information about the TYPO3-team-core mailing list