Feature #17500

Localization of child records

Added by Oliver Hader about 12 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2007-08-06
Due date:
% Done:

0%

PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

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)

irre_Localized_2007-09-27.diff View (11.5 KB) Administrator Admin, 2007-09-27 01:10

0006087_icons.zip (1.37 KB) Administrator Admin, 2008-01-24 22:48

0006087_v4.patch View (79.5 KB) Administrator Admin, 2008-02-03 21:00

0006087_post_cleanup.patch View (4.77 KB) Administrator Admin, 2008-03-31 14:42


Related issues

Related to TYPO3 Core - Bug #16652: mysql_fetch_assoc If in tca select->maxitems > 1 AND foreign_table_where contains "sys_language_uid = ###REC_FIELD_sys_langu... Closed 2006-10-18
Related to TYPO3 Core - Bug #18269: "foreign_selector" option and localization links doesn't work Closed 2008-02-21
Related to TYPO3 Core - Bug #18425: Wrong mouse pointer on links to create/translate child records Closed 2008-03-11

History

#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:
http://lists.netfielders.de/pipermail/typo3-team-core/2007-September/009323.html

And here:
http://lists.netfielders.de/pipermail/typo3-project-irre/2007-September/000237.h

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!
My extension
- product
-- feature
---- featuretype

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

#3 Updated by Sascha Egerer about 12 years ago

i've already postet this bug some month ago...
http://bugs.typo3.org/view.php?id=4405

#4 Updated by Martin Borer over 11 years ago

What are the standings? Could we expect that the implementation will be solved like it is done in the Patch of Bernhard?

In witch release of Typo3 will it be implemented?

#5 Updated by Oliver Hader over 11 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")
  • all:
    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.
  • separate:
    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 over 11 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).

#9 Updated by Oliver Hader over 11 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.

#10 Updated by Oliver Hader over 11 years ago

Attached a new patch (0006087_v2) which removes the t3lib_tca again and has some other smaller corrections/cleanings.

#11 Updated by Oliver Hader over 11 years ago

Committed to SVN Trunk (rev. 3042)

#12 Updated by Oliver Hader over 11 years ago

Reopened since regular full review required by at least on Core-Team-Member.
Changes that are releated to this issue or which are followup are collected here (to get an overview when reviewing)

#13 Updated by Oliver Hader over 11 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)

#14 Updated by Ingo Renner over 11 years ago

has been reviewed before T3BOARD08

Also available in: Atom PDF