Get all translations
GET/v2/projects/:projectId/translations/:languages
Returns all translations for specified languages
Request
Path Parameters
languages string[]required
Comma-separated language tags to return translations in. Languages you are not permitted to see will be silently dropped and not returned.
Example: en,de,fr
projectId int64required
Query Parameters
ns string
Namespace to return
structureDelimiter string
Default value: .
Delimiter to structure response content.
e.g. For key "home.header.title" would result in {"home": {"header": {"title": "Hello"}}} structure.
When null, resulting file will be a flat key-value object.
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
string
{
"en": {
"what a key": "Translated value",
"another key": "Another key translated"
},
"cs": {
"what a key": "Překlad",
"another key": "Další překlad"
}
}
Bad Request
- */*
- Schema
Schema
string
Unauthorized
- */*
- Schema
Schema
string
Forbidden
- */*
- Schema
Schema
string
Not Found
- */*
- Schema
Schema
string
Loading...