Skip to content

Issue with drag & drop of translated element into untranslated gridelement #81

@mkrappitz

Description

@mkrappitz

We have the following language setup in TYPO3 12.4.27 and gridelements 12.0.0 (TER version) and php 8.2.27 on a Mittwald hosting:

languages:
  -
    title: EN
    enabled: true
    languageId: 0
    base: /en/
    typo3Language: default
    locale: en_GB.UTF-8
    iso-639-1: en
    navigationTitle: English
    hreflang: en
    direction: ''
    flag: gb
    websiteTitle: ''
  -
    title: DE
    enabled: true
    base: /de/
    typo3Language: de
    locale: de_DE.UTF-8
    iso-639-1: de
    websiteTitle: ''
    navigationTitle: Deutsch
    hreflang: de
    direction: ''
    fallbackType: strict
    fallbacks: ''
    flag: de
    languageId: 3

There is some strange behaviour when working with a translated content element and an untranslated gridelement.

Initial steps to reproduce:

  • Create a new page in EN and translate it to DE.
  • Create a new standard (for example) text content element in EN and translate it to DE with connected mode.
  • Create a new gridelement with minimum one column in EN on the same page.

Then the following stuff happens, if you move the translated text element into the grid element in the default EN language, this is how it looks after the drag & drop - first all fine:
Image

But if you just refresh the current view in the page module, it looks like this, the DE translation of the text element "jumped" into the default language grid element:
Image

If you then try to "fix" this by translating the grid element to DE in connected mode, you then have 2 DE translations of the text element, one in the default language gridelement, one in the translated language gridelement:
Image
And in the frontend it even renders correctly in the default language, you only see the gridelement with the default language text element. But in the translated language you see the gridelement and both translated language text elements inside:
Image

You can then finally "fix" that by deleting the superflous translated text element in the default language. Anyway this behaviour seems erratic to me and should be fixed, if this is something caused by gridelements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions