Skip to content

Update Locale

Edits an existing locale. The update is partial — send only the fields you want to change, alongside the id.

Operation

OperationTypePurpose
updateAdminSettingsLocaleMutationUpdate a locale

Input

FieldRequiredNotes
idyesIRI of the locale to update.
codenoNew locale code; uniqueness is enforced (excluding this locale).
namenoNew display name.
directionnoltr or rtl.

Notes

  • Use the adminSettingsLocales query to discover valid ids.
  • The mutation echoes the full updated record, including the refreshed updatedAt.
  • A logo image cannot be uploaded over GraphQL.

Permissions: settings.locales.edit. See the Locales overview for behaviour.

Released under the MIT License.