---
title: "Update a translation"
method: PUT
path: "/projects/{project_id}/translations/{translation_id}"
tags: ["Translations"]
---

# Update a translation

`PUT /projects/{project_id}/translations/{translation_id}`

Updates a translation. Alternatively, use the <a href="/reference/bulk-update">Multi-key update</a> endpoint to update translations.

Requires <code>write_translations</code> OAuth access scope.

## Path parameters

- `project_id` string, required
- `translation_id` number, required

## Request body

- object
  - `translation` string, required — The actual translation content. Use an JSON object for plural keys.
  - `is_unverified` boolean — Whether the Unverified flag is enabled.
  - `is_reviewed` boolean — Whether the Reviewed flag is enabled.
  - `custom_translation_status_ids` string[] — Custom translation status IDs to assign to translation (existing statuses will be replaced).

## Response `200`

OK

- object
  - `project_id` string
  - `translation` Translations
    - `translation_id` number — Unique translation identifier.
    - `key_id` number — Identifier of the key of the translation.
    - `language_iso` string — Language code.
    - `modified_at` string — Date and time of last translation modification.
    - `modified_at_timestamp` number — Unix timestamp of last translation modification.
    - `modified_by` number — Identifier of the user, who made last modification.
    - `modified_by_email` string — E-mail of the user, who made last modification.
    - `translation` string — The actual translation content. Pass as an object, in case it includes plural forms and <code>is_plural</code> is <code>true</code>.
    - `is_unverified` boolean — Whether the Unverified flag is enabled.
    - `is_reviewed` boolean — Whether the Reviewed flag is enabled.
    - `reviewed_by` number — Identifier of the user, who has reviewed the translation (if reviewed).
    - `words` number — Number of words in the translation.
    - `custom_translation_statuses` unknown[] — Array consisting of <a href="#object-translation-statuses">Custom Translation Status</a> objects.
      - unknown
    - `task_id` number — Identifier of the task, if the key is a part of one, or <code>null</code> if it's not.
    - `segment_number` number — If segmentation is used then this is a segment number. If not then it defaults to 1.

---

[API](https://skmtc.net/lokalise/apis/default-projects.md) · [All operations](https://skmtc.net/lokalise/apis/default-projects/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lokalise/default-projects/revisions/7bceba421b12/schema)
