feat: make non default locales optional (#1109)

This commit is contained in:
Daniel Lautzenheiser
2024-04-26 12:32:10 -04:00
committed by GitHub
parent 69fc27ab6b
commit 1d0141fcc8
10 changed files with 49 additions and 8 deletions

View File

@ -19,6 +19,10 @@ i18n:
# Optional, defaults to the first item in locales.
# The locale to be used for fields validation and as a baseline for the entry.
default_locale: en
# Optional, defaults to true.
# Enforce required fields in non-default locales
enforce_required_non_default: true
collections:
- name: posts
label: Posts