sanity-io / sanity-plugin-internationalized-array

A plugin to register array fields with a custom input component to store field values in multiple languages, queryable by using the language ID as an array `_key`.
MIT License
44 stars 11 forks source link

Default language for nested objects #72

Open fvieira opened 5 months ago

fvieira commented 5 months ago

The defaultLanguages already pre-adds the default languages at the document level, but it doesn't do it for nested objects which is where most of my fields are (we us Sanity for webpage building, with arrays of objects used to configure the content of the page).

Having it work on nested objects would save our editors a ton of time adding the English language to fields, and would make using the unstable__fieldAction button location feasible (currently empty fields just say This internationalized field currently has no translations. and the editor would have to do two clicks just to add the EN field, forcing us to use the field button location which uses more screen real estate).

dnlmzw commented 1 week ago

+1