This commit is contained in:
2025-08-25 20:24:23 +08:00
parent 30106e0129
commit 0ae8d7a709
1044 changed files with 321581 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# 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.