Skip to content

Delete Locale

Two guards (HTTP 400)

  • Last locale — refuses if this is the only locale left.
  • Channel default — refuses if any channel references it as default_locale_id. (Project-specific safeguard — the monolith silently breaks the channel in this case.)

Permission: settings.locales.delete.

Released under the MIT License.