Create translation
Creates a new translation key with values for one or more languages. Auto-creates file_translation records if they don't exist. Restores soft-deleted entries when possible. Requires `canEditTranslations` permission.
Supabase Auth session cookie. Automatically set when users log in via the Movabase web app.
In: cookie
Path Parameters
Project ID
uuidRequest Body
application/json
Translation key (max 256 chars)
length <= 256File name (max 256 chars)
length <= 256Map of language code to translation value (max 8192 chars each)
Response Body
application/json
curl -X POST "https://app.movabase.com/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/translations" \ -H "Content-Type: application/json" \ -d '{ "key": "string", "fileName": "string", "values": { "en": "Hello", "es": "Hola" } }'{
"inserted": [
{
"language": "string",
"id": "string"
}
],
"skipped": [
{
"language": "string",
"reason": "string"
}
]
}Create file translations
Creates file_translation records for one or more languages. Skips records that already exist. Requires `canEditTranslations` permission.
Delete file
Deletes a file and all its translations. If `languageCode` is provided, only deletes that language version. Otherwise deletes the file across all languages. Requires `canEditTranslations` permission.