Project

General

Profile

Actions

Feature #17500

closed

Localization of child records

Added by Oliver Hader over 17 years ago. Updated over 14 years ago.

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

0%

Estimated time:
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)


Files

irre_Localized_2007-09-27.diff (11.5 KB) irre_Localized_2007-09-27.diff Administrator Admin, 2007-09-27 01:10
0006087_icons.zip (1.37 KB) 0006087_icons.zip Administrator Admin, 2008-01-24 22:48
0006087_v4.patch (79.5 KB) 0006087_v4.patch Administrator Admin, 2008-02-03 21:00
0006087_post_cleanup.patch (4.77 KB) 0006087_post_cleanup.patch Administrator Admin, 2008-03-31 14:42

Related issues 3 (0 open3 closed)

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...Closed2006-10-18

Actions
Related to TYPO3 Core - Bug #18269: "foreign_selector" option and localization links doesn't workClosedOliver Hader2008-02-21

Actions
Related to TYPO3 Core - Bug #18425: Wrong mouse pointer on links to create/translate child recordsClosedOliver Hader2008-03-11

Actions
Actions #1

Updated by Bernhard Kraft about 17 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 ...

Actions #2

Updated by Georg Ringer about 17 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

Actions #3

Updated by Sascha Egerer about 17 years ago

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

Actions #4

Updated by Martin Borer almost 17 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?

Actions #5

Updated by Oliver Hader almost 17 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?

Actions #6

Updated by Georg Ringer almost 17 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).

Actions #9

Updated by Oliver Hader almost 17 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.

Actions #10

Updated by Oliver Hader almost 17 years ago

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

Actions #11

Updated by Oliver Hader almost 17 years ago

Committed to SVN Trunk (rev. 3042)

Actions #12

Updated by Oliver Hader almost 17 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)

Actions #13

Updated by Oliver Hader almost 17 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)

Actions #14

Updated by Ingo Renner over 16 years ago

has been reviewed before T3BOARD08

Actions

Also available in: Atom PDF