Add language
Adds a new language to the project. Creates file_translation records for all existing files (and optionally additional file names). Defaults to `default.json` if no files exist. 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
Language code (e.g., 'en', 'pt-BR')
Language display name
Language emoji flag
Additional file names to create translations for
Response Body
application/json
curl -X POST "https://app.movabase.com/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/languages" \ -H "Content-Type: application/json" \ -d '{ "code": "string", "name": "string", "emoji": "string" }'{
"languages": [
{
"code": "string",
"name": "string",
"emoji": "string"
}
]
}Documentation Plan
Complete structure for MovaBase user documentation
Bulk translation operation
Performs bulk translation operations. Two modes: `replace-file` deletes all existing translations for a file+language and re-inserts; `bulk-upsert` efficiently compares existing vs new translations and batches updates/inserts. Requires `canEditTranslations` permission.