- i18n enhancements:
- The new
i18n: duplicate_if_emptyfield option copies the default locale’s value to other locales only where the field is empty, while the field can still be edited in every locale. As the value changes in the default locale, the change is also copied to the locales that still follow it. This is handy for a value that is usually the same in every locale but sometimes needs a localized version, such as a banner image with text that hasn’t been localized yet. It’s available for the Code, DateTime, File, Image, Number, RichText, String and Text field types. (#120) - A field’s label, hint and default value can now be localized with the new
label_localized,hint_localized,label_singular_localizedanddefault_localizedoptions, keyed by locale code. Labels and hints follow the locale of the editor pane, or the UI locale where there’s no content locale, so they can also be used to translate the editor UI for a team working in another language. (#403) - The new
localize_formatoption of the DateTime field writes month names and other locale-dependent parts of a custom format in a language other than English: either in each content locale withtrue, or in a given locale, e.g.de, which also works without i18n support. See the Localized Format example. This effectively solves decaporg/decap-cms#2578.
- The new
- Content Editor enhancements:
- The new
second_pane: falseeditor option keeps the Content Editor to a single pane for everyone. It can be set globally, or for a collection, a file or a Hugo index file. (#850 (reply in thread)) - While the second pane is hidden, the preview is still available as a Preview tab in the pane header.
- The new
- The key of a keyed List can now be picked with a Relation or Select field instead of typed, e.g. to store settings for each page keyed by its slug. See the Keyed List with Picked Keys example. (#1082)
- Bug fixes and improvements.
Full Changelog: v0.244.0...v0.245.0