How to localize a block array with the internationalized array plugin in Sanity.io

2 replies
Last updated: Feb 8, 2024
Hello Sanity peeps,Does anyone know how to localize a block array with
the internationalized array plugin ? I have tried changing the type to "internationalizedArrayString" but that returns an error.

defineField({

name: 'information',

title: 'Information',

type: 'array',

of: [{ type: 'block'}],

}),
Feb 8, 2024, 11:36 AM
πŸ‘‹ I just want to caution you that field level translation of a portable text field will eat through your attribute limit and cause you massive headaches down the line.
Feb 8, 2024, 5:38 PM
That is a fair point. Guess I will localize on the document level in that case. Thanks!
Feb 8, 2024, 10:18 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?