Allow record localization from non default language in the list module
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][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.
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.
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)
Updated by Andrew Luca about 5 years ago
Have to mention that with v7.6.12 didn't look into database to see if related fields are right.
But as developers said, with this patch
Now record is localized in a right way, but is still not showed in list module, and Transl.Origin is still showing default language records.
Updated by Riccardo De Contardi over 1 year ago
Images are now missing, so it is difficult to say if this issue is still true; I guess it is so (10.4.0-dev); I followed these steps
1) Create a page in three different languages (Italian (Default), English (ID=1), French (ID=2)
2) Create a content element in italian and translate it in English (Translate mode)
1) if you are in Page > languages mode and click on "Translate" button, it pops up the translation wizard and lets you decide if you want to take as starting point the original (italian) element or the english element
2) If you are on List view, the only "translate" button available in the one in the default language; no wizard pops out.