Localization of child records
The localization of child records when viewing the parent record isn't possible. This is a missing feature of TYPO3 4.1.
(issue imported from #M6087)
#1 Updated by Bernhard Kraft about 12 years ago
The attached patch: "irre_Localized_2007-09-27.diff" handles different localization paradigmas like known from Flexforms...
See my postings here:
Any input welcome ...
#2 Updated by Georg Ringer about 12 years ago
I just tested the patch of Oliver and this has still a bug in it!
there is a 1:n between all tables and the following where clause in the tca defined:
AND xxx.sys_language_uid=###REC_FIELD_sys_language_uid###. Now I get an error if I want to create a new feature inside a new product because the product-record is not saved yet and therefore the sys_language_uid is not defined for the featuretype.
ok this could be a general problem of irre, not only because of the patch
#5 Updated by Oliver Hader almost 12 years ago
The release of this feature is planed for TYPO3 4.2.0-beta1.
It's a bit different to Bernhard's approach, since I'm going to change some behaviours. The following modes are planed:
- keep (like Bernhard's "original", but also for CSV fields and a different data hierarchy/delegation)
- select (similar to Bernhard's "inherit" but not quite the same):
It's possible to select which child records of the default language should be translated. Thus, this could be all, just only one or even none. Furthermore it's possible to create new child records in the localized version (which is similar to Bernhard's "separate")
I dont't know if it's really required because this could be done with the "select" mode and a synchronization of all children of the default language.
I dont't know if it's really required because this could be done with the "select" mode and not synchronizing any record but create new children only for the language.
Thus, we'd have only two modes: "keep" and "select"
What would you expect from IRRE localization feature? What is your situation and what are your wishes?
#6 Updated by Georg Ringer almost 12 years ago
Shouldn't this be discussed in typo3.dev?
I have currently Bernhards patch in a quite big extension and there is just one problem with his inherit-mode: There is no diff shown in the translated child record but only if I open the child record directly (without IRRE). Of course it would make sense to just translate some of the child records and be able to delete a single translation again (IMHO not possible now).
#7 Updated by Oliver Hader almost 12 years ago
#9 Updated by Oliver Hader almost 12 years ago
Attached a new patch (experimental_v2) and some new icons that should go into the directory "typo3/sysext/t3skin/icons/gfx/".
The patch is - see the name - experimental and thus just for testing only. The refactored version for reviewing will be published the next few days.
#13 Updated by Oliver Hader almost 12 years ago
Committed followup to SVN Trunk (rev. 3060 & 3061)
Committed followup to SVN Trunk (rev. 3081)
Committed followup to SVN Trunk (rev. 3106), TYPO3_4-2 (rev. 3105)
Committed followup to SVN TYPO3_4-2 (rev. 3416)
Committed followup to SVN TYPO3_4-2 (rev. 3488)