Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loss of links between the translation when working on multiple blogs #147

Open
abed23 opened this issue Apr 13, 2020 · 5 comments
Open

Loss of links between the translation when working on multiple blogs #147

abed23 opened this issue Apr 13, 2020 · 5 comments
Assignees

Comments

@abed23
Copy link

abed23 commented Apr 13, 2020

Describe the bug
Assume that the website works with 3 different languages English, Norwegian and Danish. The articles on the website are posted on all 3 sources and occasionally translated from one language to another. Once you translate articles between the websites, the plugin is only passing information about the article source from which you translate instead of passing all the existing translations. Therefore, removes the interdependencies between the languages. Same goes for the terms.

To Reproduce
Steps to reproduce the behavior:

  1. Create 3 lingual blog DK, NOR, ENG
  2. Create a test article A on the DK website
  3. By using "+" sign in DK admin Dashboard, create a new version of DK article on the NOR website
  4. Enter the translated title for NOR version and go to NOR website's dashboard
  5. Again, by using "+" sign in the NOR dashboard, create a new version of the article A on the ENG website
  6. Check language switcher linking - the only link saved will be the one from the NOR website, despite there're two existing translations in both DK and NOR.

Expected behaviour
Keep the linking to all the translations when creating a new translation of a post.

Screenshots
Step 1)
image
Step 4)
image
Step 6)
image

Additional context
I proposed a working solution for this issue and also the previous feature request (incomplete) in the latest pull. However, I am not a php programmer so the implementation might not be the best. I really hope that it helps in plugin development :)

Cheers!

@abed23
Copy link
Author

abed23 commented Apr 16, 2020

Update:
I've managed to implement this feature by myself but there's another part of it which is slightly harder an probably beyond php skills that I am trying to refresh over the past few days.

Let's assume I created new post as described above. Then, I imported the content from another language version. Once the content import is completed, the information about other translations is lost, only the source and destination of the import are left. 🏳️

@abed23
Copy link
Author

abed23 commented Apr 16, 2020

Update-2
I've managed to implement both features described above. Since I am not a wordpress dev but a scientist, it might seem very amateur - sorry for that. Anyway, I am sending it as a pull request and if you're interested in implementing something similar in the future maybe it will come useful.

Thanks again for this amazing plugin :)

P.S. Sorry for spamming you with posts and pull requests, I am new to contributions with this platform. I usually keep my code here and it's literally my first time doing it.

@Tom-Woef
Copy link

I have the same problem!
Any plugin update for this? This is annoying!

@chegor
Copy link

chegor commented Sep 4, 2024

Any chance this issue will be fixed?

@lloc
Copy link
Owner

lloc commented Feb 24, 2025

When you click on the plus sign, you are directed to a new page in the other blog. You can work on it and decide later whether to connect the content to its translations. While this approach may not be perfect, it is intentional and not a bug.

I’d love to hear more about what users expect in this scenario. Additionally, the new content can remain in draft for some time, and there is also the content import functionality, which works as expected. However, this feature needs to be activated in the dashboard.

Let me know your thoughts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants