[TYPO3-dev] #539 - Delete (Copy / Move) localized records
Ingo Renner
ingo at typo3.org
Sun Aug 9 18:45:15 CEST 2009
Tolleiv.Nietsch wrote:
Hi Tolleiv,
> Deleting and moving records is really "easy" because the l10n-records
> are useless without their parent anyways and therefore we could just
> perform the actions for all the l10n-records too. If the user has no
> right to do this then it's not a problem because we could just leave the
> "useless" l10n-records in place and wait for a system-cleanup
> (lowlevel-cleaner) to carry them away.
Well, with leaving the translations behind you produce the same effect
as before - lost translation records. Thus, for the case where a user
doesn't have the right to move the records I would simply not move any
of the records (including the original language record).
> For the Copy-mode I'd suggest to either - provide an additional "Copy
> with L10n-records" mode (side-by-side with the normal Copy-mode) or to
> provide a TSConfig setting where the behavior can be configured.
That would IMO just overcomplicate everything, I would simply do it like
with moving: all or nothing.
> Other concerns:
> In #539 Uschi brought up that it might be a problem if the new page
> doesn't provide all languages. Imho that's no "real" problem because if
> we would just leave this single record behind then it would be lost
> anyways and if we just copy it over to the new page there's a chance
> that the content is used again as soon as someone creates the
> page_language_overlay record for that language.
agreed, just move everything.
best
Ingo
--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2
More information about the TYPO3-dev
mailing list