Skip to content

Export vue-i18n

Exports translations as flat dotted-key JSON suitable for vue-i18n. Keys combine group path and entry technical name (for example footer.labelImprint). Missing translations fall back to the entry’s base term.

GET /api/v1/projects/{id}/export/vue-i18n

AuthRequired
BodyNone
NameTypeDescription
idstringProject id
NameTypeDescription
formatbooleanWhen true, pretty-print the JSON
Authorization: Bearer <your-api-key>
Terminal window
curl -sS "https://collingo.app/api/v1/projects/clproj0123456789abcdefgh/export/vue-i18n?format=true" \
-H "Authorization: Bearer <your-api-key>" \
-o vue-i18n.json

Content-Type: application/json

{
"en-US": {
"footer.labelImprint": "Imprint"
},
"de-DE": {
"footer.labelImprint": "Impressum"
}
}
StatusWhen
401Missing or invalid API key
404Project not found
500Export failed