Skip to content

Kirby 3.8.4

/api/translations/:code

Retrieve a translation

Query parameters

Parameter Example Description
pretty pretty=true|null Pretty prints the result. Only useful for debugging.
select select=filename,niceSize|null Defines the fields that will be returned for the translation.

Translation fields

The following fields are available in the translation model and can be fetched with the select parameter:

  • author
  • data
  • direction
  • id
  • name