Create a translation
Create a translation.
Authorizations
Enter your token in the format token TOKEN
Headers
Two-Factor-Authentication token (optional)
Path Parameters
Project ID
Body
specify the branch to use
"my-feature-branch"
Locale. Can be the name or id of the locale. Preferred is id
"abcd1234cdef1234abcd1234cdef1234"
Key
"abcd1234cdef1234abcd1234cdef1234"
Translation content
"My translation"
Plural suffix. Can be one of: zero, one, two, few, many, other. Must be specified if the key associated to the translation is pluralized.
null
Indicates whether translation is unverified. Part of the Advanced Workflows feature.
null
Indicates whether translation is excluded.
null
Indicates whether the translation should be auto-translated. Responses with status 422 if provided for translation within a non-default locale or the project does not have the Autopilot feature enabled.
null
When true, the translation is marked as a minor edit and does not trigger downstream re-verification on the linked locales' translations.
false
When true and the project's review workflow is enabled, the translation is created in the reviewed state.
false
Response
Created
null
{
"id": "abcd1234cdef1234abcd1234cdef1234",
"name": "English",
"code": "en-GB"
}{
"id": "abcd1234cdef1234abcd1234cdef1234",
"content": "My parent translation"
}{
"id": "abcd1234cdef1234abcd1234cdef1234",
"username": "johndoe",
"name": "John Doe",
"gravatar_uid": "205e460b479e2e5b48aec07710c08d50"
}