Querying language information with kql plugin

The API has an endpoint to retrieve a list of languages with their codes and names. Also, in Kirby itself, one can get the language list from the kirby.languages function.

Yet, in kql, when trying to retrieve all languages including their code and name, the kirby.languages query only returns an array of language codes.

  "query": "kirby.languages"


  "code": 200,
  "result": [
  "status": "ok"

I wondered whether this is a bug or if there is another way to retrieve the list of languages including their code and name in kql itself.