Bug #78220

Translate mode copy does not respect order

Added by R3 H6 about 3 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Localization
Start date:
2016-10-10
Due date:
% Done:

0%

TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When translate content, the order of the source language should be respected.
It is cumbersome for editors to rearrange the content elements.

Steps to reproduce:
  1. Go to a an empty page and create on content element
  2. Translate the page
  3. Translate the content element with copy-mode
  4. Create 2-3 new content elements in default language
  5. Translate the content again

You will notice that the localized content is in random order.

LocalizeCopyMode.png View (53.7 KB) R3 H6, 2016-10-24 13:46


Related issues

Related to TYPO3 Core - Bug #81328: Translation didn't sort Elements correct. New 2017-05-24

History

#1 Updated by R3 H6 about 3 years ago

When translate content, the order of the source language should be respected.
It is cumbersome for editors to rearrange the content elements.

Steps to reproduce:

  1. Create a new page and a translation of it
  2. Create a content element with header "b"
  3. Translate element with copy mode
  4. Create below first a new content element "a", then "d" and "c": You should have following order now "b,a,d,c"
  5. Move "a" with drag'n'drop above "b"
  6. Move "d" with drag'n'drop bellow "c": You should have following order now "a,b,c,d"
  7. Translate elements with copy mode

You will notice, the elements are not in the expected order.

Though it is in "copy", as an editor I expect that the order get respected as much as it is possible.
This means a content element inserted on position 2, should be at position 2 when translated if possible.

#2 Updated by Daniel Maier about 3 years ago

  • Target version set to Candidate for patchlevel

#3 Updated by Markus Mächler about 3 years ago

i tested your case and could not reproduce the behaviour. I got the correct ordering.

we recently had a similar issue, which was found to be due to a localized record being nested in an element of the default language.
it seems the translation handling in https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_7-6/typo3/sysext/backend/Classes/Controller/Page/LocalizationController.php is very error-prone

#4 Updated by Mona Muzaffar over 2 years ago

  • Related to Bug #81328: Translation didn't sort Elements correct. added

#5 Updated by Riccardo De Contardi almost 2 years ago

I tried to reproduce on both 8.7.10 and 9.2.0-dev (latest master) using the test reported on comment 1

Results: on both, the final order of the translated content elements is: A,C,D,B

Also available in: Atom PDF