open-index/open-npm huggingface dataset:
npm package: @sanity/locale-kn-in
Description: Kannada (India) / ಕನ್ನಡ locale/translation for Sanity Studio
Latest version: 1.0.31

# @sanity/locale-kn-in

Kannada (India) / ಕನ್ನಡ language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-kn-in
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {knINLocale} from '@sanity/locale-kn-in'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    knINLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {knINLocale} from '@sanity/locale-kn-in'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    knINLocale({
      title: 'Kannada (India)',
    }),
  ],
})
```

## Contributors

- [@achanda101](https://github.com/achanda101)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-ko-kr
Description: Korean / 한국어 locale/translation for Sanity Studio
Latest version: 1.1.33

# @sanity/locale-ko-kr

Korean / 한국어 language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-ko-kr
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {koKRLocale} from '@sanity/locale-ko-kr'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    koKRLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {koKRLocale} from '@sanity/locale-ko-kr'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    koKRLocale({
      title: 'Korean',
    }),
  ],
})
```

## Maintainers

We are looking for maintainers for this plugin!
If you are interested, please [send a PR](/CONTRIBUTING.md#maintaining-a-locale) adding yourself as a maintainer.

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-nb-no
Description: Norwegian (Bokmål) / Norsk (Bokmål) locale/translation for Sanity Studio
Latest version: 1.1.33

# @sanity/locale-nb-no

Norwegian (Bokmål) / Norsk (Bokmål) language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-nb-no
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {nbNOLocale} from '@sanity/locale-nb-no'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    nbNOLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {nbNOLocale} from '@sanity/locale-nb-no'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    nbNOLocale({
      title: 'Norwegian (Bokmål)',
    }),
  ],
})
```

## Contributors

- [@rexxars](https://github.com/rexxars)
- [@bjoerge](https://github.com/bjoerge)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-nl-nl
Description: Dutch / Nederlands locale/translation for Sanity Studio
Latest version: 1.1.34

# @sanity/locale-nl-nl

Dutch / Nederlands language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-nl-nl
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {nlNLLocale} from '@sanity/locale-nl-nl'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    nlNLLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {nlNLLocale} from '@sanity/locale-nl-nl'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    nlNLLocale({
      title: 'Dutch',
    }),
  ],
})
```

## Contributors

- [@nickspaargaren](https://github.com/nickspaargaren)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-nn-no
Description: Norwegian (Nynorsk) / Norsk (Nynorsk) locale/translation for Sanity Studio
Latest version: 1.1.32

# @sanity/locale-nn-no

Norwegian (Nynorsk) / Norsk (Nynorsk) language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-nn-no
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {nnNOLocale} from '@sanity/locale-nn-no'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    nnNOLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {nnNOLocale} from '@sanity/locale-nn-no'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    nnNOLocale({
      title: 'Norwegian (Nynorsk)',
    }),
  ],
})
```

## Contributors

- [@s-rd](https://github.com/s-rd)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-pl-pl
Description: Polish / Polski locale/translation for Sanity Studio
Latest version: 1.2.29

# @sanity/locale-pl-pl

Polish / Polski language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-pl-pl
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {plPLLocale} from '@sanity/locale-pl-pl'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    plPLLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {plPLLocale} from '@sanity/locale-pl-pl'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    plPLLocale({
      title: 'Polish',
    }),
  ],
})
```

## Contributors

- [@marcinincreo](https://github.com/marcinincreo)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-pt-br
Description: Portuguese (Brazil) / Português (Brasil) locale/translation for Sanity Studio
Latest version: 1.1.30

# @sanity/locale-pt-br

Portuguese (Brazil) / Português (Brasil) language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-pt-br
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {ptBRLocale} from '@sanity/locale-pt-br'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    ptBRLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {ptBRLocale} from '@sanity/locale-pt-br'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    ptBRLocale({
      title: 'Portuguese (Brazil)',
    }),
  ],
})
```

## Contributors

- [@fernandolucchesi](https://github.com/fernandolucchesi)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-pt-pt
Description: Portuguese / Português locale/translation for Sanity Studio
Latest version: 1.1.30

# @sanity/locale-pt-pt

Portuguese / Português language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-pt-pt
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {ptPTLocale} from '@sanity/locale-pt-pt'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    ptPTLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {ptPTLocale} from '@sanity/locale-pt-pt'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    ptPTLocale({
      title: 'Portuguese',
    }),
  ],
})
```

## Contributors

- [@jrparente](https://github.com/jrparente)
- [@RitaDias](https://github.com/RitaDias)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-ro-ro
Description: Romanian / Română locale/translation for Sanity Studio
Latest version: 1.0.11

# @sanity/locale-ro-ro

Romanian / Română language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-ro-ro
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {roROLocale} from '@sanity/locale-ro-ro'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    roROLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {roROLocale} from '@sanity/locale-ro-ro'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    roROLocale({
      title: 'Romanian',
    }),
  ],
})
```

## Contributors

- [@rusbers](https://github.com/rusbers)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-ru-kz
Description: Russian (Kazakhstan) / Русский locale/translation for Sanity Studio
Latest version: 1.1.29

# @sanity/locale-ru-kz

Russian (Kazakhstan) / Русский language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-ru-kz
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {ruKZLocale} from '@sanity/locale-ru-kz'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    ruKZLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {ruKZLocale} from '@sanity/locale-ru-kz'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    ruKZLocale({
      title: 'Russian (Kazakhstan)',
    }),
  ],
})
```

## Contributors

- [@yenbekbay](https://github.com/yenbekbay)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-sv-se
Description: Swedish / Svenska locale/translation for Sanity Studio
Latest version: 1.2.31

# @sanity/locale-sv-se

Swedish / Svenska language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-sv-se
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {svSELocale} from '@sanity/locale-sv-se'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    svSELocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {svSELocale} from '@sanity/locale-sv-se'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    svSELocale({
      title: 'Swedish',
    }),
  ],
})
```

## Contributors

- [@wisechimp](https://github.com/wisechimp)
- [@alexanderwarendh](https://github.com/alexanderwarendh)
- [@marcusforsberg](https://github.com/marcusforsberg)
- [@Henkisch](https://github.com/Henkisch)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-th-th
Description: Thai / ไทย locale/translation for Sanity Studio
Latest version: 1.1.32

# @sanity/locale-th-th

Thai / ไทย language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-th-th
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {thTHLocale} from '@sanity/locale-th-th'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    thTHLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {thTHLocale} from '@sanity/locale-th-th'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    thTHLocale({
      title: 'Thai',
    }),
  ],
})
```

## Maintainers

We are looking for maintainers for this plugin!
If you are interested, please [send a PR](/CONTRIBUTING.md#maintaining-a-locale) adding yourself as a maintainer.

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-tr-tr
Description: Turkish / Türkçe locale/translation for Sanity Studio
Latest version: 1.2.31

# @sanity/locale-tr-tr

Turkish / Türkçe language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-tr-tr
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {trTRLocale} from '@sanity/locale-tr-tr'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    trTRLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {trTRLocale} from '@sanity/locale-tr-tr'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    trTRLocale({
      title: 'Turkish',
    }),
  ],
})
```

## Contributors

- [@kaganmert](https://github.com/kaganmert)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-uk-ua
Description: Ukrainian / Українська locale/translation for Sanity Studio
Latest version: 1.1.30

# @sanity/locale-uk-ua

Ukrainian / Українська language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-uk-ua
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {ukUALocale} from '@sanity/locale-uk-ua'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    ukUALocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {ukUALocale} from '@sanity/locale-uk-ua'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    ukUALocale({
      title: 'Ukrainian',
    }),
  ],
})
```

## Contributors

- [@fomazov](https://github.com/fomazov)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-vi-vn
Description: Vietnamese / Tiếng Việt locale/translation for Sanity Studio
Latest version: 1.1.33

# @sanity/locale-vi-vn

Vietnamese / Tiếng Việt language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-vi-vn
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {viVNLocale} from '@sanity/locale-vi-vn'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    viVNLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {viVNLocale} from '@sanity/locale-vi-vn'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    viVNLocale({
      title: 'Vietnamese',
    }),
  ],
})
```

## Maintainers

We are looking for maintainers for this plugin!
If you are interested, please [send a PR](/CONTRIBUTING.md#maintaining-a-locale) adding yourself as a maintainer.

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-zh-hans
Description: Chinese (Simplified) / 简体中文 locale/translation for Sanity Studio
Latest version: 2.1.33

# @sanity/locale-zh-hans

Chinese (Simplified) / 简体中文 language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-zh-hans
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {zhHansLocale} from '@sanity/locale-zh-hans'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    zhHansLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {zhHansLocale} from '@sanity/locale-zh-hans'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    zhHansLocale({
      title: 'Chinese (Simplified)',
    }),
  ],
})
```

## Maintainers

We are looking for maintainers for this plugin!
If you are interested, please [send a PR](/CONTRIBUTING.md#maintaining-a-locale) adding yourself as a maintainer.

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/locale-zh-hant
Description: Chinese (Traditional) / 繁體中文 locale/translation for Sanity Studio
Latest version: 2.2.32

# @sanity/locale-zh-hant

Chinese (Traditional) / 繁體中文 language support for [Sanity Studio](https://www.sanity.io/).

## Description

This is a community maintained language plugin. Initial translations were done by AI and may have errors. Contributions are [more than welcome](#contributing)!

## Installation

```sh
npm install @sanity/locale-zh-hant
```

## Usage

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {zhHantLocale} from '@sanity/locale-zh-hant'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    zhHantLocale(),
  ],
})
```

The language should now show up in the Studio's user menu.

If you want to customize the title of the locale, pass it as an option to the plugin:

```ts
// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {zhHantLocale} from '@sanity/locale-zh-hant'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    zhHantLocale({
      title: 'Chinese (Traditional)',
    }),
  ],
})
```

## Contributors

- [@ymcheung](https://github.com/ymcheung)

## Contributing

Feel free to contribute improvements/changes! The strings are located in the `src` folder, where the file name represents the "namespace". Send a pull request, and feel free to add yourself to the `contributors` array in `locales/registry.ts`. If you want to help review new translations, add yourself to the `maintainers` array instead. After doing your changes, run `pnpm run reconcile` and add the changes to version control.

## License

MIT-licensed. See LICENSE.
npm package: @sanity/logos
Description: The Sanity logos.
Author: Sanity.io
Latest version: 2.2.2

# @sanity/logos

The Sanity logos.

```sh
npm install @sanity/logos

# Install peer dependencies
npm install @sanity/color react
```

[![npm version](https://img.shields.io/npm/v/@sanity/logos.svg?style=flat-square)](https://www.npmjs.com/package/@sanity/logos)

## Usage

```jsx
import {SanityLogo} from '@sanity/logos'

function App () {
  return <SanityLogo style={{fontSize: 72}}>
}
```

## License

MIT-licensed. See LICENSE.
npm package: @sanity/mcp-server
Description: DEPRECATED: Use the remote MCP server at https://mcp.sanity.io instead.
Latest version: 0.12.2
Deprecated: This package has been deprecated. Use the remote MCP server at https://mcp.sanity.io instead.

# Sanity MCP Server

> **This local MCP server (`@sanity/mcp-server`) has been deprecated** in favor of the new, improved remote MCP server at [mcp.sanity.io](https://mcp.sanity.io). This repository is archived and no longer maintained.

## Use [mcp.sanity.io](https://mcp.sanity.io)

The Sanity MCP Server is now available as a hosted remote server at **[mcp.sanity.io](https://mcp.sanity.io)**. It offers:

- Streamable HTTP transport
- OAuth authentication (no API tokens to manage)
- Continuously updated tools and features
- Zero local setup — no Node.js required

### Quick setup

Add this to your MCP client configuration:

```json
{
  "mcpServers": {
    "sanity": {
      "url": "https://mcp.sanity.io",
      "type": "http"
    }
  }
}
```

Visit **[mcp.sanity.io](https://mcp.sanity.io)** for full installation instructions for Claude Code, Cursor, VS Code, and other MCP clients.
npm package: @sanity/message-protocol
Description: Message protocols for the Sanity platform
Author: Sanity.io
Latest version: 0.19.0

# @sanity/message-protocol

This library provides messaging protocols for communication between the Sanity Dashboard platform and embedded applications using `@sanity/comlink`.

### Example

```ts
import {createNode} from '@sanity/comlink'
import {
  SDK_CHANNEL_NAME,
  SDK_NODE_NAME,
  type FrameMessages,
  type WindowMessages,
} from '@sanity/message-protocol'

const node = createNode<FrameMessages, WindowMessages>({
  name: SDK_NODE_NAME,
  connectTo: SDK_CHANNEL_NAME,
})

node.post('dashboard/v1/events/favorite', {
  eventType: 'added',
  document: {
    id: '123',
    type: 'movie',
  },
})
```
npm package: @sanity/next-loader
Description: > [!WARNING]   > This package is replaced by [`next-sanity`].
Author: Sanity.io
Latest version: 4.0.0

> [!WARNING]  
> This package is replaced by [`next-sanity`].

## Migrate to [`next-sanity`]

Replace the dependency:

```sh
npm uninstall @sanity/next-loader
npm install next-sanity
```

Replace import statements:

```diff
-import { defineLive, isCorsOriginError } from '@sanity/next-loader'
-import { usePresentationQuery } from '@sanity/next-loader/hooks'
+import { isCorsOriginError } from 'next-sanity'
+import { defineLive } from 'next-sanity/live'
+import { usePresentationQuery } from 'next-sanity/hooks'
```

[`next-sanity`]: https://github.com/sanity-io/next-sanity
npm package: @sanity/nuxt-loader
Description: [![npm stat](https://img.shields.io/npm/dm/@sanity/nuxt-loader.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/nuxt-loader) [![npm version](https://img.shields.io/npm/v/@sanity/nuxt-loader.svg?style=flat-square)](https://www.npmjs
Author: Sanity.io
Latest version: 1.7.21
Deprecated: migrate to @nuxtjs/sanity

# @sanity/nuxt-loader

[![npm stat](https://img.shields.io/npm/dm/@sanity/nuxt-loader.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/nuxt-loader)
[![npm version](https://img.shields.io/npm/v/@sanity/nuxt-loader.svg?style=flat-square)](https://www.npmjs.com/package/@sanity/nuxt-loader)
[![gzip size][gzip-badge]][bundlephobia]
[![size][size-badge]][bundlephobia]

> [!WARNING]  
> This package is replaced by [`@nuxtjs/sanity`].

## Migrate to [`@nuxtjs/sanity`]

Replace the dependency:

```sh
npm uninstall @sanity/nuxt-loader
npm install @nuxtjs/sanity
```

[`@nuxtjs/sanity`]: https://sanity.nuxtjs.org/getting-started/visual-editing
[gzip-badge]: https://img.shields.io/bundlephobia/minzip/@sanity/nuxt-loader?label=gzip%20size&style=flat-square
[size-badge]: https://img.shields.io/bundlephobia/min/@sanity/nuxt-loader?label=size&style=flat-square
[bundlephobia]: https://bundlephobia.com/package/@sanity/nuxt-loader
npm package: @sanity/overlays
Description: [![npm stat](https://img.shields.io/npm/dm/@sanity/overlays.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/overlays) [![npm version](https://img.shields.io/npm/v/@sanity/overlays.svg?style=flat-square)](https://www.npmjs.com/pack
Author: Sanity.io
Latest version: 2.3.59
Deprecated: migrate to @sanity/visual-editing

# @sanity/overlays — Visual Editing

[![npm stat](https://img.shields.io/npm/dm/@sanity/overlays.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/overlays)
[![npm version](https://img.shields.io/npm/v/@sanity/overlays.svg?style=flat-square)](https://www.npmjs.com/package/@sanity/overlays)
[![gzip size][gzip-badge]][bundlephobia]
[![size][size-badge]][bundlephobia]

> [!WARNING]  
> This package is replaced by [`@sanity/visual-editing`].

## Migrate to [`@sanity/visual-editing`]

Replace the dependency:

```sh
npm uninstall @sanity/overlays
npm install @sanity/visual-editing
```

Replace import statements:

```diff
-import { enableOverlays, type DisableOverlays } from '@sanity/overlays'
+import { enableVisualEditing, type DisableVisualEditing } from '@sanity/visual-editing'
```

> [!NOTE]  
> Note that there's now a built-in `<VisualEditing>` component [for Next.js App Router in `next-sanity`](https://github.com/sanity-io/visual-editing/tree/main/packages/visual-editing#app-router), [and for Next.js Pages Router in `@sanity/visual-editing/next-pages-router`](https://github.com/sanity-io/visual-editing/tree/main/packages/visual-editing#pages-router), [and for Remix in `@sanity/visual-editing/remix`](https://github.com/sanity-io/visual-editing/tree/main/packages/visual-editing#remix).

[`@sanity/visual-editing`]: https://github.com/sanity-io/visual-editing/tree/main/packages/visual-editing#readme
[gzip-badge]: https://img.shields.io/bundlephobia/minzip/@sanity/overlays?label=gzip%20size&style=flat-square
[size-badge]: https://img.shields.io/bundlephobia/min/@sanity/overlays?label=size&style=flat-square
[bundlephobia]: https://bundlephobia.com/package/@sanity/overlays
npm package: @sanity/presentation
Description: This package has moved into 'sanity/presentation' and is now deprecated.
Author: Sanity.io
Latest version: 2.0.0

> [!WARNING]  
> This package is replaced by [`sanity/presentation`].

## Migrate to [`sanity/presentation`]

Replace the dependency:

```sh
npm uninstall @sanity/presentation
npm install sanity@latest
```

Replace import statements:

```diff
-import { presentationTool } from '@sanity/presentation'
+import { presentationTool } from 'sanity/presentation'
```
npm package: @sanity/presentation-comlink
Description: > [!WARNING]   > This package is not meant to be used directly, it's a shared dependency of `sanity/presentation` and `@sanity/visual-editing`. Using it in production is at your own risk.
Author: Sanity.io
Latest version: 2.0.1

# @sanity/presentation-comlink

> [!WARNING]  
> This package is not meant to be used directly, it's a shared dependency of `sanity/presentation` and `@sanity/visual-editing`. Using it in production is at your own risk.

The `sanity/presentation` tool requires a way to communicate with the application that lives within its preview iframe. The application is required to load up at least `@sanity/visual-editing`, but can also load up `@sanity/core-loader`, `next-sanity/live`, `@sanity/svelte-loader`, and `@sanity/react-loader`.
It uses `@sanity/comlink` to communicate over the iframe, and any popup preview windows, over the `window.postMessage` protocol.
The typings for those messages are defined in this package, as well as utils for maintaining compatibility with how older versions of `sanity/presentation` and `@sanity/visual-editing` used to format its message payloads, and helpers for handling payloads..
npm package: @sanity/presets
Description: Production ready preset patterns for Sanity Studio
Author: Sanity.io
Latest version: 0.2.0

# @sanity/presets

> **This package is under active development and is not ready for use.**
> The API is unstable and will change without notice. Do not install it as a dependency.

## Status

This plugin is a work in progress. There are no stable APIs, no published releases intended for production, and no guarantees of backward compatibility.

When the package is ready, this README will be updated with installation and usage instructions.

## Do not use this package

- It is not published to npm as a usable release
- It contains no stable public API
- It will change without notice

Check back later, or watch the repository for updates.
npm package: @sanity/prettier-config
Description: Sanity.io Prettier shared configuration
Author: Sanity.io
Latest version: 3.0.0

# @sanity/prettier-config

[![npm stat](https://img.shields.io/npm/dm/@sanity/prettier-config.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/prettier-config)
[![npm version](https://img.shields.io/npm/v/@sanity/prettier-config.svg?style=flat-square)](https://www.npmjs.com/package/@sanity/prettier-config)

```sh
npm install --save-dev @sanity/prettier-config prettier
```

Then add it to your `package.json` to install it:

```diff
   },
+  "prettier": "@sanity/prettier-config",
   "dependencies": {
```

When using `pnpm` you should add this to your `.npmrc` file:

```properties
public-hoist-pattern[]=*prettier*
```

If you need to add more plugins, or extend the configuration, you'll need to create a `prettier.config.mjs`, file instead of using the `prettier` field in `package.json`:

```js
// prettier.config.mjs

import preset from '@sanity/prettier-config'

export default {
  ...preset,
  plugins: [...preset.plugins, 'prettier-plugin-tailwindcss'],
  experimentalTernaries: true,
}
```

## [Format in-browser with our settings](https://prettier.io/playground/#N4Igxg9gdgLgprEAuEBLAtgBwgJxgAhgE9M59gBhaAM1QHMBffanCdfAckxzhhlTg4OAHSiiA9ACpJo-JPwBlNmQjV8ABR58BQgM74AJnGoBDAK4AbGPrAmo+AEYqAboJyoDR+w6L47+AFEDVBhcKihaOmZUCzgAOnwAdThZeSNaKDIYAAsIXTJswSyIfARdMx5CbJMCAwg4XSgOAmrMUig41NTFODgkfGy+TF0kcXE6EOyzBzjIdHFuXn5BBa1lnHEHCwgHcXQTVChxOrBdcUgI+gqa1Gg49AMAYjhg0JwLyNTxUQvdAghXDh3AYTFs4AARYzmKz6AC85FkpSgBgA8tQADKHPqcCzUDgAGkRMFBiQ8OX6ACY-DZoH9CfZ8GZ8gAVUEjZgmCz5elMXQ3XS0Br4cKfMRQX4ED70fDw4CIuIKgFuDyg2KQ0yWaz0-D4biHGCkgzk-AARgADGbqfgJdr8Pl0Kh+qYuXBbbpDnRYgBFMwQeD9GA4MyuxEAR198E0EGG-Q4v1QfwQMAJiIcOBMYAA1rwFJgMx6nZzuYjMBYzBMoOyANpcNY6AC0pfLh0bGczJjocAAVrpoBwALpWm2IpVAjwNfpVxE6uUMnU62ixascSRxHvQACsA6HtJgtvn+Gj-Fp-VnB4P4b9cCjMc4i3yOFcKbn5-dUE9cB9V8LLv384Yf4AdOCIvguMQTvgNarkQ6AWNuJg0pWe7ATqR63JWp4ofOb4fl+-ocr+WFAS+xE6v2PJ2vygr6CK9CiKIcAAB7YHghhQpq1o0PQID4iAaG0sgoAmECEAAO7qMJZTICAnKiSYRC6DxIBpm2OYmOgcCYpkyDOtyynplmOZ5mAHo6UWrogPaqBmb+IBMaQ7gabAnLMoIUDCQIilILpFk4d6EZwMggbBrxPaMQoHr+VeNl6ZekasMM0nxomiC8YGBwWB6VDoPs0mchYSl+XAACCfDuA4ZiRoIWmBd55m8YMsGJNkIQNMZcAKGUISoM4IREEluiKbxzjBgAksiSYKGA7iYDAxXIgoxCxDFFncHkcCJOmmDSfegiuEphwPjAmgdrldW2XmOAPtJxCkLo02oLNSl6rAho5Mg5pmrxPDhqgPAnXQZ0+WlJJktkyAUrxTJwKyDhecDdnoE4ngvOidh0GYHZwAAYrg+zaO+eWVRAIAMAwQA)
npm package: @sanity/prettier-plugin-groq
Description: Prettier plugin for formatting GROQ queries
Author: Sanity.io
Latest version: 0.0.2

# prettier-plugin-groq

Prettier plugin for formatting GROQ (Graph-Relational Object Queries) queries.

## Installation

```bash
npm install --save-dev prettier-plugin-groq prettier
# or
pnpm add -D prettier-plugin-groq prettier
```

## Usage

### Formatting `.groq` Files

The plugin automatically formats `.groq` files when loaded:

```bash
npx prettier --write "**/*.groq"
```

Configure in `.prettierrc`:

```json
{
  "plugins": ["prettier-plugin-groq"],
  "printWidth": 80
}
```

### Formatting Embedded GROQ in JavaScript/TypeScript

To format GROQ queries embedded in JavaScript/TypeScript files, add the embed plugin:

```json
{
  "plugins": ["prettier-plugin-groq", "prettier-plugin-groq/embed"]
}
```

This formats GROQ in:

- **Tagged template literals**: `groq`...``, `defineQuery`...``
- **Function calls**: `defineQuery("...")`, `defineQuery(`...`)`

```typescript
// Before formatting
const query = groq`*[_type=="post"]{title,body,"author":author->name}`

// After formatting
const query = groq`*[_type == "post"] { title, body, "author": author->name }`
```

## Examples

### Input

```groq
*[_type=="article"&&author._ref==$authorId]{title,"authorName":author->name,publishedAt,categories[]->{title,slug}}
```

### Output

```groq
*[_type == "article" && author._ref == $authorId] {
  title,
  "authorName": author->name,
  publishedAt,
  categories[]->{ title, slug }
}
```

## GROQ Syntax Notes

The formatter follows GROQ syntax rules:

- **Object keys must be quoted** for computed values: `{ "slug": slug.current }`
- **Shorthand is valid** when key matches the attribute: `{ title }` (equivalent to `{ "title": title }`)
- **Projections after dereference** use shorthand: `author->{ name }`
- **Array traversals** use implicit dereference: `categories[]->{ title }`

## WASM Acceleration

For better performance, this plugin can use WASM-compiled Rust for formatting. Initialize WASM at application startup:

```typescript
import { initWasmFormatter, isWasmFormatterAvailable } from 'prettier-plugin-groq'

// Optional: Initialize WASM for better performance
await initWasmFormatter()

if (isWasmFormatterAvailable()) {
  console.log('Using WASM formatter')
}
```

When WASM is available, formatting is ~5-10x faster. The plugin automatically falls back to TypeScript formatting if WASM is not available.

## Options

This plugin respects standard Prettier options:

| Option       | Default | Description                |
| ------------ | ------- | -------------------------- |
| `printWidth` | 80      | Line width for wrapping    |
| `tabWidth`   | 2       | Indentation size           |
| `useTabs`    | false   | Use tabs instead of spaces |

## License

MIT
npm package: @sanity/preview-kit-compat
Description: [![npm stat](https://img.shields.io/npm/dm/@sanity/preview-kit-compat.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/preview-kit-compat) [![npm version](https://img.shields.io/npm/v/@sanity/preview-kit-compat.svg?style=flat-squar
Author: Sanity.io
Latest version: 1.5.36

# @sanity/preview-kit-compat

[![npm stat](https://img.shields.io/npm/dm/@sanity/preview-kit-compat.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/preview-kit-compat)
[![npm version](https://img.shields.io/npm/v/@sanity/preview-kit-compat.svg?style=flat-square)](https://www.npmjs.com/package/@sanity/preview-kit-compat)
[![gzip size][gzip-badge]][bundlephobia]
[![size][size-badge]][bundlephobia]

> **Warning**
>
> Don't use this package directly, it's an internal package used by `@sanity/preview-kit` to support `sanity/presentation`

[gzip-badge]: https://img.shields.io/bundlephobia/minzip/@sanity/preview-kit-compat?label=gzip%20size&style=flat-square
[size-badge]: https://img.shields.io/bundlephobia/min/@sanity/preview-kit-compat?label=size&style=flat-square
[bundlephobia]: https://bundlephobia.com/package/@sanity/preview-kit-compat
npm package: @sanity/prism-groq
Description: GROQ language definition for Prism.js
Latest version: 1.1.2

# @sanity/prism-groq

[Prism.js](https://prismjs.com/) language definition for [GROQ](https://www.sanity.io/docs/groq) syntax highlighting.

## Install

```bash
npm install @sanity/prism-groq
```

## Usage with react-refractor

```tsx
import {Refractor, registerLanguage} from 'react-refractor'
import {refractorGroq} from '@sanity/prism-groq'

registerLanguage(refractorGroq)

function CodeBlock({query}: {query: string}) {
  return <Refractor language="groq" value={query} />
}
```

## Usage with Prism.js

```js
import Prism from 'prismjs'
import '@sanity/prism-groq'

const html = Prism.highlight(
  '*[_type == "post"]{title, "author": author->name}',
  Prism.languages.groq,
  'groq',
)
```

## Usage with refractor

```js
import {refractor} from 'refractor/core'
import {refractorGroq} from '@sanity/prism-groq'

refractor.register(refractorGroq)

const tree = refractor.highlight('*[_type == "post"]', 'groq')
```

## Standalone (no Prism dependency)

The grammar is a plain JavaScript object and can be used without Prism:

```js
import groq from '@sanity/prism-groq'
// groq.comment, groq.string, groq.function, etc.
```

## Tokens

| Token | Examples |
|---|---|
| `comment` | `// ...` |
| `string` | `"post"`, `'text'` |
| `string > escape` | `\n`, `\u0041`, `\u{1F600}` |
| `number` | `42`, `3.14`, `1e10` |
| `boolean` | `true`, `false` |
| `null` | `null` |
| `keyword-operator` | `in`, `match`, `asc`, `desc` |
| `function` | `count`, `defined`, `select`, `order`, ... |
| `namespace` | `math`, `pt`, `geo`, ... (before `::`) |
| `variable` | `$param` |
| `special-variable` | `@`, `^` |
| `wildcard` | `*` (everything selector) |
| `operator` | `==`, `!=`, `&&`, `\|\|`, `->`, `=>`, `\|`, ... |
| `spread` | `...` |
| `punctuation` | `[`, `]`, `{`, `}`, `(`, `)`, `,`, `:` |

## License

MIT
npm package: @sanity/request
Description: Small shim to make browsers use `xhr` and node use `request`
Author: Sanity.io
Latest version: 0.0.3

# @sanity/request

Small shim to make browsers use `xhr`, while node.js use `request`

## Installation

```
npm install --save @sanity/request
```

## Usage

```js
const request = require('@sanity/request')

request({url: 'http://foo.bar'}, (err, res, body) => {
  // ...
})
```

## License

MIT-licensed