Homepage

admin_translation_unset

Last edit: Nov 10, 2026

Permanently deletes the translation of a key in a locale and returns it. Does
nothing (and returns an unsaved translation without id) when the key does not
exist in the locale

admin_translation_unset(
  key: String!
  locale: String!
): Translation

Arguments

key (String)

Translation key, a dot-separated path such as app.welcome.title

locale (String)

Locale code, for example en or de

Type

Translation

Translation (app/translations): text for one key in one locale, used by the t filter

Questions?

We are always happy to help with any questions you may have.

contact us