---
title: "Commit Translation"
method: PATCH
path: "/v1/{workspace}/translation/commit/"
---

# Commit Translation

`PATCH /v1/{workspace}/translation/commit/`

Commit all files changes to make them live.

## Path parameters

- `workspace` string, required

## Query parameters

- `commit_message` string

## Response `202`

Translations committed successfully

- object
  - `meta` object
    - `count` integer — Total number of translation files
    - `limit` integer — Maximum number of results per page
    - `offset` integer — Number of results to skip in case offset is passed in the request
  - `results` object[]
    - `filename` string — Name of the translation file. Should be in the format of <locale>.json or <namespace>.<locale>.json.
    - `locale` string — Locale code for the translation file. This would be matched with user locale code to fetch translation.
    - `locale_name` string — Human-readable name of the locale
    - `namespace` string, nullable — Namespace for the translation file, if any. Namespace can be used to group translations by feature or module.
    - `action` 'added' | 'updated' | 'deleted' | 'unchanged' — action done in the version compared to last commit.
    - `updated_at` string, date-time — When the translation file was last updated

## Other responses

- `401` — Authentication failed
- `404` — Resource not found

---

[API](https://skmtc.net/suprsend/apis/suprsend-api.md) · [All operations](https://skmtc.net/suprsend/apis/suprsend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/suprsend/suprsend-api/revisions/a686fddb4e0c/schema)
