Addding translation from node source in translation language not orgin

Created on 15 June 2022, over 2 years ago
Updated 4 September 2024, 5 months ago

Problem/Motivation

Module currently take the origin node and adding it like a translation for selected different node. It not works correctly with nodes with many translations. Selected language should be taken like a translation not origin.

Steps to reproduce

If we have setup of website with many languages (e.g. en, pl, fr, es) and have two nodes with translations with different languages
node 1 - en (origin), pl
node 2 - es (origin), fr

If we want to merge it from node 2 to node 1, for both languages es and fr. Result only Spanish language will be copied to es and fr.

Proposed resolution

We should copy translation for selected language.

Remaining tasks

I will add code that fix it.

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡΅πŸ‡±Poland henk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States caspervoogt

    Thanks for this very useful module. I had been wishing to have the old D7 translation merging tools added to D9+ for some time now.

    I tested the patch from #2 and it worked for me. I think this should be the default behavior. From my perspective, this patch brings back the old D7 way of linking orphan translations.

Production build 0.71.5 2024