---
title: "Get Translation"
method: GET
path: "/v1/{workspace}/translation/content/{locale_file}/"
---

# Get Translation

`GET /v1/{workspace}/translation/content/{locale_file}/`

Retrieve the content of a translation file for a specific locale file.

## Path parameters

- `workspace` string, required — Workspace slug (staging, production, etc.)
- `locale_file` string, required — Locale file name (e.g., "fr.json", "es-MX.json", "auth.en.json")

## Query parameters

- `mode` 'draft' | 'live' — Mode to fetch translation (draft or live). By default, draft translation is returned.

## Response `200`

Successfully retrieved translation content

- object
  - `filename` string — Name of the translation file
  - `locale` string — Locale code for the translation file
  - `locale_name` string — Human-readable name of the locale
  - `namespace` string, nullable — Namespace for the translation file, if any
  - `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
  - `content` object — Translation key-value pairs

## 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/versions/8bd2574bd2c3/schema)
