Update configuration-options.mdx
This commit is contained in:
parent
06f9d9056d
commit
f27a7cd420
@ -210,8 +210,6 @@ logo_url: 'https://your-site.com/images/logo.svg',
|
||||
|
||||
Static CMS locale. Defaults to `en`.
|
||||
|
||||
Other languages than English must be registered manually.
|
||||
|
||||
**Example**
|
||||
|
||||
In your `config`:
|
||||
@ -227,14 +225,6 @@ locale: 'de',
|
||||
|
||||
</CodeTabs>
|
||||
|
||||
And in your custom JavaScript code:
|
||||
|
||||
```js
|
||||
import CMS, { de } from '@staticcms/core';
|
||||
|
||||
CMS.registerLocale('de', de);
|
||||
```
|
||||
|
||||
When a translation for the selected locale is missing the English one will be used.
|
||||
|
||||
> All locales are registered by default (so you only need to update your `config`).
|
||||
|
Loading…
x
Reference in New Issue
Block a user