Copy/Paste Issue: Translated Fields Lose _key Assignment
Hi, I’ve noticed an issue with Sanity’s Copy/Paste functionality that might need attention. When using this feature, the translated fields do not seem to paste correctly. Specifically, the _key values are replaced with new random UIDs rather than retaining their associated language keys.
As a result, after pasting, it becomes necessary to manually re-select the language for each field, which is time-consuming and could lead to errors.
This significantly impacts workflows involving multilingual content.
We are experiencing the same issue. Any updates on this? Thank you
Same issue here
Same problem, any update?
Even worse than having to manually select language, is the default language is pre-created and thus cannot be selected. It also cannot be removed because it's the default language. So this completely inhibits usage of the copy-paste functionality for fields using this plugin.
I am quite bummed the localization is not standard built-in functionality in Sanity. That was one of my main doubts when choosing Sanity as CMS, and this was exactly the type of issue I was afraid of.
By the way, when debugging I noticed that the keys aren't included in the copy-paste format — it's quite basic actually. Just a comma-separated list of values, with no indication of field names, types, or keys:
Item 1 NL, Item 1 EN, normal, Item 1 NL portabletext, Item 1 EN portabletext, normal, Item 2 NL, Item 2 EN, Item 2 FR, Item 2 NL portabletext, normal
This is copied from this field:
So I think this plugin will never be able to fix this, as it's impossible to infer the language from the data copied. Maybe we should move this issue to the main https://github.com/sanity-io/sanity repo instead?
Any news on this?