Movabase Docs
Public API

Update translation

Updates translation values for one or more languages by key and file. Auto-creates file_translation records if needed. Upserts if the translation doesn't exist yet. Requires `canEditTranslations` permission.

PATCH
/api/projects/{project-id}/translations
sb-access-token<token>

Supabase Auth session cookie. Automatically set when users log in via the Movabase web app.

In: cookie

Path Parameters

project-id*string

Project ID

Formatuuid

Request Body

application/json

key*string

Translation key to update

Lengthlength <= 256
fileName*string

File name

Lengthlength <= 256
updates*

Map of language code to update payload

Response Body

application/json

curl -X PATCH "https://app.movabase.com/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/translations" \  -H "Content-Type: application/json" \  -d '{    "key": "string",    "fileName": "string",    "updates": {      "en": {        "value": "Hello World"      },      "es": {        "value": "Hola Mundo"      }    }  }'
{
  "results": {
    "property1": {
      "id": "string",
      "id_file": "string",
      "updated": true
    },
    "property2": {
      "id": "string",
      "id_file": "string",
      "updated": true
    }
  }
}