Skip to content

Kirby 4.3.0

GET /api/languages/:code

Retrieve a language

Query parameters

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

Language fields

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

  • code
  • default
  • direction
  • locale
  • name
  • rules
  • url