Retrieve a translation

GET: /api/translations/:code

Query parameters

Parameter Example Description
pretty ?pretty=true Pretty prints the result. Only useful for debugging.
select ?select=filename,niceSize 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

Example response

GET: /api/translations/de
    "code": 200,
    "data": {
        "author": "Kirby Team",
        "data": {
            "add": "Add",
            "cancel": "Cancel",
            "change": "Change",
            "confirm": "Ok",
            "copy": "Copy",
        "direction": "ltr",
        "id": "en",
        "name": "English"
    "status": "ok",
    "type": "model"