Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
translate
cURL
curl --request POST \
  --url https://{deployment}.convex.site/v1/projects/{projectId}/translate \
  --header 'Content-Type: application/json' \
  --data '
{
  "locales": [
    "nl-NL",
    "fr-FR"
  ]
}
'
{
  "jobs": [
    {
      "jobId": "job_xyz",
      "locale": "nl-NL",
      "status": "queued",
      "totalKeys": 143
    }
  ]
}

Path Parameters

projectId
string
required
Minimum string length: 1
Example:

"proj_abc123"

Body

application/json
locales
string[]
Example:
["nl-NL", "fr-FR"]

Response

200 - application/json

Translation jobs started

jobs
object[]
required