static-cms/packages/netlify-cms-locales
Kolja Markwardt 5e2d181498
feat(locales): allow copying data from other locales (#5850) (#5881)
Co-authored-by: Kolja Markwardt <kolja.markwardt@edeka.de>
2021-11-01 19:37:42 +02:00
..
2021-10-11 13:14:37 +02:00
2021-10-11 13:14:37 +02:00
2020-07-06 14:50:15 +03:00

Netlify CMS Locales

Default translations for Netlify CMS

The English translation is loaded by default.

To register another locale you can use the following code:

import CMS from 'netlify-cms-app';
import { de } from 'netlify-cms-locales';

CMS.registerLocale('de', de);

When importing netlify-cms all locales are registered by default.

Make sure the specific locale exists in the package - unless we will happily accept a pull request for it.

The configured locale will be merge into the English one so dont worry about missing some phrases.