Update configuration-options.mdx

This commit is contained in:
Daniel Lautzenheiser 2023-04-19 14:43:32 -04:00
parent 06f9d9056d
commit f27a7cd420

View File

@ -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`).