[TYPO3-irre] Localization of child records

Bernhard Kraft kraftb at kraftb.at
Thu Sep 27 01:15:16 CEST 2007


Oliver Hader wrote:
> Hi folks,
> 
> one of the missing features of IRRE is the possibility to translate
> child records when viewing the parent record. I've created an initial
> and experimental fix for this issue.
> 
> The patch was created again TYPO3 4.1.2/4.1.3-dev and can be found at:
> http://bugs.typo3.org/view.php?id=6087

Hi Oliver !


I took a look at your patch and noticed that it mainyl is about properly 
copying the sub-records when a container gets localized.

But what about possiblities like known from Flexform sections 
"lDEF/vDEF" paradigma:

So that you could either have different sub-records in each containr - 
or a strict 1:1 binding - meaning if you have for example:


Product Record (container)
  |-- Price Variant A (sub-record)
  |-- Price Variant B (sub-record)
  |-- Price Variant C (sub-record)

and you translate the "Product record" that it is a "must" to have 3 
sub-records in the translated record again - so that the translated 
sub-records are directly bound to the original language containr. Like 
when you move around a Price in the original-language container it will 
also move in all translated containers.


For more info see my RFC sent to the core list (I guess I should have 
done that later - after discussing this with you here - sorry for being 
so quick in posting to the core list :( )
http://lists.netfielders.de/pipermail/typo3-team-core/2007-September/009323.html

I also attached my patch to your bugnote:
http://bugs.typo3.org/view.php?id=6087

---------------------------

PS: I introduced some new "terms" in this scenario. When I talk of an 
"sub-record" or "IRRE-record" i mean a sub-element - embedded into a 
"container record" ...

So a "product" would for example be a "container" while all the 
price-variants available for this product - which are visible/rendered 
in the IRRE field would get called "sub-record"

I do not know if you have choosen similar terms for this purpose - but I 
think it is neccessary to come to a common language in this case - as 
else we both would mean different things all the time.

---------------------------

greets,
Bernhard


More information about the TYPO3-project-irre mailing list