Skip to main content
POST
Update language configuration

Authorizations

x-api-token
string
header
required

Path Parameters

language
string
required

The language code to update

Required string length: 1 - 10
Pattern: ^[A-Za-z0-9_-]+$

Body

application/json

The input required to update a language configuration. Only overridden translation keys should be included.

expectedUpdatedAt
string<date-time>
required

Platform configuration version returned by the languages endpoint

translation
object

Translation key-value pairs. Can contain nested objects. Empty object means 'use default translations'

enabled
boolean

Whether this language is enabled

reviewedKeys
string[]

Dot-paths the translator confirmed as correct even though they match the source (so a same-as-source string still counts as translated)

Maximum array length: 5000
Maximum string length: 512

Response

Successful response

Configuration for platform language and translations

language
string
required

The language code (e.g., 'en', 'fr', 'es')

translation
object
required

Translation key-value pairs. Can contain nested objects. Empty object means 'use default translations'

enabled
boolean
required

Whether this language is enabled

reviewedKeys
string[]
required

Dot-paths the translator confirmed as correct even though they match the source (so a same-as-source string still counts as translated)

Maximum array length: 5000
Maximum string length: 512