Skip to main content
PUT
Upsert a translation value (write)

Authorizations

Authorization
string
header
required

API token: tsu_pat_… (PAT) or tsu_proj_… (project token). The token's granted RBAC permissions determine access; see each operation's x-permission.

Path Parameters

projectId
string
required

Project id (UUID) or id-embedded path slug.

keyId
string
required

Translation key id (UUID).

lang
string
required

Language code, optionally with a file extension (fr or fr.json).

Query Parameters

branch
string

Target an open translation branch instead of main. Required when the project's main branch is protected.

Body

application/json
value
string
required

The translated string to store.

Example:

"Bienvenue"

pluralForm
enum<string>

For plural keys, the CLDR plural form this value targets (one, other, …).

Available options:
zero,
one,
two,
few,
many,
other
Example:

"other"

Response

The upserted value.

success
boolean
required
data
object
required