Skip to main content

Create translation comment

POST 

/v2/projects/:projectId/translations/create-comment

Creates a translation comment. Empty translation is stored, when not exists.

Request

Path Parameters

    projectId int64required

Body

required
    keyId int64required
    languageId int64required
    text stringrequired
    state stringrequired

    Possible values: [RESOLUTION_NOT_NEEDED, NEEDS_RESOLUTION, RESOLVED]

Responses

Created

Schema
    translation objectrequired

    Translations object containing values updated in this request

    id int64required

    Id of translation record

    text string

    Translation text

    state stringrequired

    Possible values: [UNTRANSLATED, TRANSLATED, REVIEWED, DISABLED]

    State of translation

    outdated booleanrequired

    Whether base language translation was changed after this translation was updated

    auto booleanrequired

    Was translated using Translation Memory or Machine translation service?

    mtProvider string

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    Which machine translation service was used to auto translate this

    comment objectrequired
    id int64required

    Id of translation comment record

    text stringrequired

    Text of comment

    state stringrequired

    Possible values: [RESOLUTION_NOT_NEEDED, NEEDS_RESOLUTION, RESOLVED]

    State of translation

    author objectrequired

    User who created the comment

    id int64required
    username stringrequired
    name string
    avatar object
    large stringrequired
    thumbnail stringrequired
    deleted booleanrequired
    createdAt date-timerequired

    Date when it was created

    updatedAt date-timerequired

    Date when it was updated

Loading...