Skip to content

Locale Detail

Returns the full record for one locale, addressed by its id (IRI form, e.g. /api/admin/settings/locales/1). Use it to pre-fill an edit form or to read back the current state of a locale.

Operation

OperationTypePurpose
adminSettingsLocale(id:)QueryFetch a single locale by id

Notes

  • id is the IRI form; discover valid ids with the adminSettingsLocales query.
  • direction is ltr or rtl.
  • logoPath is the stored relative path and logoUrl its public URL — both null when no logo is set.
  • A seeded core locale (such as English) may return null createdAt / updatedAt.
  • An unknown id returns null (no record).

See the Locales overview for field meanings and behaviour.

Released under the MIT License.