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

1.0.10 • Public • Published

@sanity/locale-da-dk

Danish / Dansk 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-da-dk

Usage

// sanity.config.ts / sanity.config.js:
import {defineConfig} from 'sanity'
import {daDKLocale} from '@sanity/locale-da-dk'

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

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 {daDKLocale} from '@sanity/locale-da-dk'

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

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-da-dk

Weekly Downloads

49

Version

1.0.10

License

MIT

Unpacked Size

1.08 MB

Total Files

50

Last publish

Collaborators

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