@sanity/locale-hr-hr
TypeScript icon, indicating that this package has built-in type declarations

1.1.13 • Public • Published

@sanity/locale-hr-hr

Croatian / Hrvatski language support for Sanity Studio.

Description

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

Installation

npm install @sanity/locale-hr-hr

Usage

// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {hrHRLocale} from '@sanity/locale-hr-hr'

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

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:

// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {hrHRLocale} from '@sanity/locale-hr-hr'

export default defineConfig({
  // ...
  plugins: [
    // ... other plugins here ...
    hrHRLocale({
      title: 'Croatian',
    }),
  ],
})

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.

Package Sidebar

Install

npm i @sanity/locale-hr-hr

Weekly Downloads

20

Version

1.1.13

License

MIT

Unpacked Size

1.05 MB

Total Files

45

Last publish

Collaborators

  • kaspar.lippmaa.sanity
  • tdfka_rick
  • jjburbridge
  • ryanblock
  • danielsgroves
  • colepeters
  • dam
  • tbeseda
  • ryanbonial-sanity
  • madken
  • tiit.kass.saity
  • christianhg
  • joan_miralles_paez
  • jwoods-sanity
  • armandocerna
  • daniel.malmer
  • jordanl17
  • tambet
  • drewsanity
  • refiito
  • sergeisarviro
  • ash
  • indrek.karner
  • cngonzalez-sanity
  • rdunk
  • rneatherway-sanity
  • ricokahler
  • pedro-sanity
  • kenjonespizza
  • pauloborgesf
  • binoy14
  • simen.svale
  • svirs
  • josh_sanity_io
  • joneidejohnsen
  • rankers
  • snorreeb
  • mattcraig
  • vincentquigley
  • stipsan
  • michael-sanity
  • rubioz
  • tonina
  • ritasdias
  • simeonsanity
  • kmelve
  • bjoerge
  • rexxars
  • skogsmaskin
  • robinpyon
  • mariuslundgard
  • sanity-io
  • evenw
  • radhe_sanity
  • rbotten
  • judofyr
  • obliadp
  • dcilke
  • fredcarlsen
  • hermanw
  • sgulseth
  • atombender