[TYPO3-irre] RFC #6087: Localization of child records with IRRE

Oliver Hader oh at inpublica.de
Mon Jan 21 16:40:29 CET 2008


Hi Georg,

Georg Ringer schrieb:
> Oliver Hader schrieb:
>> In the IRRE view (editing a parent record) there will only be one 
>> language that could be used for localization. If the parent was 
>> translated to German, also the child records have to be German.
> 
> Yeah I forgot about that. So the icon will be the flag or something like 
> that.
> 
>> What is your feeling about the 1:1 translation? 
> 
> A very good one. It is probably the most used one.
> 
>> * different sorting of children in the different languages
> 
> Yeah this is needed because it should be possible to add extra child 
> record which are only for one specific language. So all records need to 
> be still sortable.
> 
>> * what should happen if the parent record of the default language got 
>> a new child record - should all localized versions get this new record 
>> automatically or by a user action (e.g. clicking on icon "synchronize")?
> 
> Never automatic! If somebody wants this, mode "keep" would be the right 
> way.
> So the best thing is the "synchronize icon" and also as in the page view 
>  the link "copy x records to another language" should get shown again.
> 
>> * the same is question for deletion of a child record
> 
> This is kind of a missing feature in the Core: There should be a warning 
> message if there is any translated record which belongs to the parent 
> record you want to delete.  If it is possible I would like this warning 
> at least in IRRE but if not: Delete the localized child and keep of 
> course the records which are just for this language.

Okay, I had a similar feeling about that. Let's see, what I can do. It's 
about a correct set ref_index and of course checking it if a removal is 
requested.

As I see in your feedback, there's not need for an automatic 1:1 
translation. The 1:1 behaviour can be achieved by the 'select' mode with 
the possibility of user interaction "synchronize" and/or "copy from 
default language". Unsynchronized records (new or deleted ones) have to 
be visualized/marked in the user interface.

>> Maybe these automatically created records should be set to hidden by 
>> default since it could lead to some confusion when editing live content.
> 
> I don't like that idea because it is nowhere else in TYPO3.

It's like the the TCA setting 'hideAtCopy' but just for localization 
stuff. But this can be added later on if it someone requests it, since 
this action takes place in the TCAmain methods copyRecord()/localize().

Good! I think we're on a good way. I'm still waiting for some more 
feedback before starting with the work.

olly
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-project-irre mailing list