Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@six-socks-studio/sanity-plugin-intl-input

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@six-socks-studio/sanity-plugin-intl-input

[![npm version](https://img.shields.io/npm/v/@six-socks-studio/sanity-plugin-intl-input.svg?style=flat)](https://www.npmjs.com/package/@six-socks-studio/sanity-plugin-intl-input)

  • 5.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
4
Weekly downloads
 
Created
Source

Intl plugin for Sanity

npm version

!! Breaking Change for V5

The ID structure for translated documents has changed. Your queries against Sanity will continue to work until you use the maintenance tab (new in V5) to update the ID structure. The change was made to improve the querying structure and to make better use of GROQ. The new structure looks as follows i18n.{baselanguage-document-id}.{language}. This means you could query all translations for a document as follows *[_id in path("i18n.{baselanguage-document-id}.*")]. This vastly improves the querying experience.

Default solution

When you want to create translations in Sanity they suggest following approach.
This definitely works, but makes the UI very clunky as you get more fields that require translations.

Default Solution

With intl-plugin

With the intl plugin you will get a cleaner UI for creating translatable documents as the translation is managed across multiple fields and it is even possible to manage document wide translations.

Simple translated object fieldDocument wide translation
Intl Plugin InputIntl Plugin Document Translation

Documentation

  1. V4 to V5 migration guide
  2. Installation Instructions
  3. General Configuration
  4. How to use
  5. Datastructure
  6. Translation Maintenance
  7. GraphQL support
  8. Advanced languages

Keywords

FAQs

Package last updated on 13 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc