curl --request POST \
--url https://{deployment}.convex.site/v1/projects \
--header 'Content-Type: application/json' \
--data '
{
"name": "My App",
"sourceLocale": "en",
"targetLocales": [
"nl-NL",
"fr-FR"
]
}
'{
"projectId": "<string>"
}Create a new translation project with source and target locales. Initializes translation records and activity log. Requires user session.
curl --request POST \
--url https://{deployment}.convex.site/v1/projects \
--header 'Content-Type: application/json' \
--data '
{
"name": "My App",
"sourceLocale": "en",
"targetLocales": [
"nl-NL",
"fr-FR"
]
}
'{
"projectId": "<string>"
}1"My App"
2 - 10^[a-z]{2,3}(-[A-Z]{2,3})?$/i"en"
12 - 10^[a-z]{2,3}(-[A-Z]{2,3})?$/i["nl-NL", "fr-FR"]Project created successfully