directus / directus/docs

No API documentation on how to create translations

Open
#131 1 comment 0 reactions 1 assignee Claimed by @hola-soy-milk View on GitHub
Docs
Dominant language
TypeScript
Stars
22
Forks
82
Avg merge
18h 49m
Merged PRs (30d)
4

Description

I could not find anywhere in the docs on how to create translations for a new collection entry. Thanks to checking the network tab in my browser I found the correct format:

```
{
"translations":{
"create":[
{
"languages_code":{
"code":"en-US"
},
"verbatim_text":"This is a test"
},
{
"languages_code":{
"code":"de-DE"
},
"verbatim_text":"Das ist ein Test"
}
],
"delete":[],
"update":[]
}
}
```

It would be generally great if the according pages like [this](https://docs.directus.io/guides/headless-cms/content-translations.html) one always directly link to the API documentation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.