Files
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

21 lines
561 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Decap CMS Locales
## Default translations for Decap CMS
The English translation is loaded by default.
To register another locale you can use the following code:
```js
import CMS from 'decap-cms-app';
import { de } from 'decap-cms-locales';
CMS.registerLocale('de', de);
```
> When importing `decap-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.