Reference

/api/translations/:code

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.

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"
}