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

fix(#7371): Duplicate Localized Content When Duplicating Entries with i18n Enabled #7372

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

starkovio
Copy link

This PR solves issue #7371.

Summary

When i18n is enabled in the CMS, duplicating an entry in a collection results in only the content of the defaultLocale being duplicated. Content from all other locales is missing in the duplicated entry.

In this PR fix for this problem is provided, when i18n is enabled, and an entry is duplicated, the data (content) for all locales is duplicated.

Test plan

This video demonstrates that data from all locales is now duplicated.

Screen.Recording.2025-01-15.at.11.03.56.mov

Checklist

A picture of a cute animal
WhatsApp Image 2025-01-14 at 06 55 47

@demshy
Copy link
Member

demshy commented Jan 17, 2025

Seems like we are not the only ones that struggle with duplicate i18n bugs 😅
This seems related to a bug that I tried to solve here: #7145

I will try it on some of my cases and maybe release these two together in one of the upcoming release.

Thanks for the contribution!

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

Successfully merging this pull request may close these issues.

2 participants