Skip to content
dimmiDocs

Help center

Translate a collection

Saves the collection's name, slug and description in a language the help center offers. It shows to readers of that language at once. Returns the collection's translation.

PATCH/api/v1/collections/{collection}/translations/{locale}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the articles:write ability

Path parameters

collectionstringrequired

Id of the help center collection, starting with col_, such as col_01jx2m8k4t. Find it with GET /help-centers/{help_center}/collections.

localestringrequired

A language the help center offers besides its default, as a code such as fr or pt-BR.

Maximum length: 16

Body

application/json
descriptionstring

The translated description, at most 300 characters.

Maximum length: 300

namestringrequired

The translated name, 1 to 80 characters.

Minimum length: 1 · Maximum length: 80

slugstring

The translated address; made from the name when left out.

Maximum length: 80

Response 200

OK
dataobjectrequired
Show child attributes
collection_idstringrequired

The id of the collection translated, such as col_abc123.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

descriptionstring | nullrequired

The collection's description in that language. Null when it has none.

localestringrequired

The language of the translation, as a code such as fr.

namestringrequired

The collection's name in that language.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

outdatedbooleanrequired

True when the collection's default name or description changed since.

slugstringrequired

The collection's address in that language.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.