Sanity
Translate Sanity documents from inside Studio.
Studio plugin that subscribes to documents you mark translatable and pipes them into the graph. Branch-aware previews. SDK for any consumer.
One line in sanity.config.
import { defineConfig } from "sanity";
import { paragraphs } from "@paragraphs/sanity";
export default defineConfig({
plugins: [
paragraphs({
projectId: process.env.PARAGRAPHS_PROJECT_ID,
locales: ["en-GB", "es-ES", "fr-FR"],
}),
],
}); One key, in your schema.
export default {
name: "post",
type: "document",
fields: [
{ name: "title", type: "string", paragraphs: true },
{ name: "body", type: "array", of: [{ type: "block" }], paragraphs: true },
],
}; From any consumer.
import { fetchDocument } from "@paragraphs/sanity";
const post = await fetchDocument({
type: "post",
slug: "hello-world",
locale: "es-ES",
}); Start free in 30 seconds.
No credit card. 100,000 words on the free tier. Self-serve onboarding.