Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using the translation wizard the colpos of elements inside a container is not updated #1853

Open
simare opened this issue Dec 1, 2020 · 2 comments

Comments

@simare
Copy link

simare commented Dec 1, 2020

Steps to reproduce (results in no apparent error for the user)

  1. Setup a second language
  2. Create a page and add a flux container element
  3. Add a core content element inside the container element
  4. Use the translation wizard

Result: The colpos of the core CE is still the colpos of the l10n_parent-container
Expected: The colpos should have been updated to the colpos of the translated container element.
The sorting

Steps to reproduce (results in content elements not being inside their container)

  1. Setup a second language
  2. Create a page
  3. Add a flux container element
  4. Add another flux container element inside the first
  5. Add a core content element inside the second (most inner) container
  6. Use the translation wizard in copy mode

Result: The innermost container is empty, the content element still has the colpos of its l18n_parent container. It does not appear in the original container, because the language is set to the target language.
Expected: The content element should appear inside of the translated container.

I also checked the sorting field according to #1824 but the child's sorting is lower than the parents sorting.

@almfisch
Copy link

Any news here?
I have the problem with not updated colPos values in grids by using the translation wizard.
It doesn't matter if I use copy or translate in the wizard.
The only way to get correct translated content is to copy manually from default language.

@almfisch
Copy link

Translation-Behavior for child content elements

Is that behavior normal?

I can only use the translation wizard for connected/translate mode.

The child elements in the page view are only shown, if:

  • free mode: colPos is updated to the id of the real parent element in the translation
  • connected mode: colPos of translated child elements is the same like in the default language

If I like to use the free mode, I have to change the colPos of translated child elements.
I made a small task for the scheduler, that converts translated elements in connected mode to free mode and corrects the colPos.

Why can the colPos in connected mode not be the colPos of the translated parent element?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants