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

feat: add mergeWithTargetLocale parameter #42

Merged
merged 4 commits into from
May 6, 2024

Conversation

cngonzalez
Copy link
Member

In recent weeks, we've encountered a workflow where editors would sometimes begin working on a duplicated version of their base language document, and then import their translation.

Because of our merging behavior, this meant that the import would overwrite assets, replacing them with assets from the base language document.

This PR adds the ability to treat the duplicated document or field as the merged document. Translated fields and blocks should be overwritten, but assets should be left alone.

@cngonzalez cngonzalez marked this pull request as ready for review May 6, 2024 17:53
@cngonzalez cngonzalez merged commit 54f4ad8 into main May 6, 2024
11 of 12 checks passed
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.

1 participant