Feature #78610

Allow record localization from non default language in the list module

Added by Andrew Luca about 5 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
Category:
Localization
Target version:
-
Start date:
2016-11-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

Would be great to have the posibility to localize records, from a non default language.
However this is possible in Page module using Localization Wizard, but it is missing in List module.

note: have 3 languages. English(default), German, Dansk

For now in List module we have this

But would be great to have this

As I saw the buttons are just links, that have a format like this

typo3/index.php?route=/record/commit // route to Controller\SimpleDataHandlerController::mainAction
&token=f10a3d706e355ed40a13ba7dd4c53c882c027f1e // token
&prErr=1 // some error code
&uPT=1 // some other unique id
&vC=2471f0028b // some generated code
&cmd[tt_content][168][localize]=1 // DataHandler takes care to localize record 168 to language with uid 1
&redirect=/typo3/index.php?M=web_list // all this till the end of block takes care to redirect to new localized record
    &moduleToken=461c16a8e1be600907e758dffe6b9dee489ce80d 
    &id=1
    &imagemode=1 // still don't know for what is this ))
    &justLocalized=tt_content:168:1  // redirects to just localized to uid 1 of record 168

And I manipulated that URL a little bit to localize a record that was created in a non default language
When clicking manipulated link I have two behaviours.

TYPO3 v7.6.12
Record is "fake localized", I am redirected to list module, but localized record does not have anything in common with his parent record.
Parent was just used to take data from, and is just listed as another record with language uid that was requested.

TYPO3 v7.6.11
The record was localized for real, I was redirected to it.
The readonly fields (TCA l10n_display) of each input that showed parent value was right.

The only issues I encountered was that
Transl.Orig select field showed records from default language, not from what I localized
I could save the record, but when I went back to list module, just localized record was not visible.
I looked in database and everything was fine, sys_language_uid, l18_parent, l18_diffsource (should be l10n, kept l18n for backward compatibility)

As a general idea. Transl.Orig is showed right, and localized record is not visible in list module (with v7.6.11)


Files

cattura.png (65.2 KB) cattura.png Riccardo De Contardi, 2020-03-18 22:41

Related issues

Related to TYPO3 Core - Story #82206: list module enhancements/bugfixesNew2005-07-21

Actions

Also available in: Atom PDF