Review main Merged

71374[BUGFIX] Enable Export/Import of page translations

Nikita Hovratov CR +2 V +2 Expert +1196 −3 updated 11/21/23, 15:19

Commit message

The impexp system extension is now able to export translated pages. This
essential functionality has not been implemented up until now.

Also, specific language variants can be exported, that will only
contain records matching the requested language. This "hidden
feature" can be accessed by right-clicking on a page's icon in the
translation overview and selecting "export". This feature was
available before, but the export never included actual translated
records before.

In addition, the relation field "l10n_source" is taken care of while
exporting/importing. Normally this would happen automatically, if there
was a refindex entry for that. However, no references are saved for
the tables "pages" and "tt_content". This seems to be another bug and
should be fixed in another patch. After this, some code can be cleaned
up.

Functional tests have been added to verify the exported data.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 8