---
title: "Set translations for entities."
method: POST
path: "/api/v1/actions/workspaces/{workspaceId}/translations/set"
tags: ["Translations"]
---

# Set translations for entities.

`POST /api/v1/actions/workspaces/{workspaceId}/translations/set`

## Request

- Base URL: `https://www.gooddata.ai`
- URL: `https://www.gooddata.ai/api/v1/actions/workspaces/{workspaceId}/translations/set`
- Auth: none declared

Set translation for existing entities in a particular locale.

## Path parameters

- `workspaceId` string, required

## Request body `application/xml`

- Xliff
  - `file` File[], required
    - `any` object[]
    - `canResegment` 'YES' | 'NO'
    - `id` string
    - `notes` Notes
      - `note` Note[], required
        - `appliesTo` 'SOURCE' | 'TARGET'
        - `category` string
        - `content` string
        - `id` string
        - `otherAttributes` object
        - `priority` integer
    - `original` string
    - `otherAttributes` object
    - `skeleton` Skeleton
      - `content` object[]
      - `href` string
    - `space` string
    - `srcDir` 'LTR' | 'RTL' | 'AUTO'
    - `translate` 'YES' | 'NO'
    - `trgDir` 'LTR' | 'RTL' | 'AUTO'
    - `unitOrGroup` object[]
  - `otherAttributes` object
  - `space` string
  - `srcLang` string
  - `trgLang` string
  - `version` string

## Response `204`

Translations were successfully set.

---

[API](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-cn-oapi-all-api/revisions/c728ef303bfb?raw)
