Skip to main content
For Sanity developers and editors.

What it does

The plugin adds a TranslationOS tab to documents in Sanity Studio. Editors order translation from there, follow the status, and receive translated documents back as drafts. It is event based: actions in Studio trigger the connector. The package is sanity-plugin-tos, from the NPM registry.

What it translates

All string, text, slug, and block fields. array and object fields are traversed recursively, so nested content is covered. Sanity metadata such as _id, _rev, and _type is always excluded. You can exclude specific fields by setting exclude: true in tosProperties, which applies recursively to objects.
The hidden and readOnly field properties do not affect what gets translated. A field hidden in the Studio interface is still sent.

Document-level only

The connector supports document-level localisation only, not field-level localisation. If your schema localises individual fields within one document rather than keeping one document per language, this connector will not fit as it is. Raise it with Translated before starting.

Delivery

When the final request for a target language is delivered, the plugin creates a draft document in that language. Published documents are never overwritten. You then access the translations through the document internationalisation plugin interface and publish when you are ready.

References

Referenced documents are not ingested or updated automatically, but references are preserved at delivery. The TranslationOS tab has a Fix references for translated documents action that links translated documents to their language-specific references where those exist.

Limits

  • Document-level localisation only
  • Instruction URLs must use HTTPS. An HTTP URL makes the order submission fail
  • The connector always sends the latest revision of the source document
  • Content IDs are capped at 255 characters, and longer field keys are trimmed

Before you start

  • Agreed service types with Translated
  • A TranslationOS API key
  • An editor token, your dataset name, and your project ID, all sent to Translated
  • Your configured language codes

Where to go next

Set up the connector

Request and track translations