Homepage

admin_translation_set

Last edit: Nov 10, 2026

Sets the text of a translation key in a locale: creates the translation when
the key does not exist in the locale yet, otherwise updates it. Returns the translation

admin_translation_set(
  translation: TranslationInputType!
): Translation

Arguments

translation (TranslationInputType)

The key, locale and text to set

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