---
title: "Add a new target locale"
method: POST
path: "/projects-api/v2/projects/{projectId}/targetLocales"
tags: ["Account & Projects"]
---

# Add a new target locale

`POST /projects-api/v2/projects/{projectId}/targetLocales`

Add a new target locale to the project.

## Path parameters

- `projectId` string, required

## Request body

- object
  - `defaultWorkflowUid` string — The default workflow that should be used when content is authorized. If not specified, the default workflow configured for the project will be used.
  - `localeId` string — The locale identifier (localeId) of the locale to be added to the project.

## Response `200`

OK

- ProjectDetailsSuccessResponse
  - `response` object, required
    - `code` 'SUCCESS', required — Indicates whether the response was successful or what error has occured.
    - `data` object
      - `accountUid` string, required — The account’s unique identifier. This can be found in the Smartling Dashboard under Account Settings > API.
      - `archived` boolean, required — Indicator whether or not the project has been archived. Archived projects are typically hidden from a user's view, but can still be accessible
      - `projectId` string, required — A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.
      - `projectName` string, required — The name of the project.
      - `projectTypeCode` string, required — Indicator for the type of the project.
      - `sourceLocaleDescription` string, required — The full name of the sourceLocaleId
      - `sourceLocaleId` string, required — The locale identifier for the source locale of the project. This indicates the base locale for which content should be uploaded to the project.
      - `targetLocales` ProjectDetailsLocaleItem[], required — The locales configured for translation for this project.
        - `description` string, required — The name of the locale.
        - `enabled` boolean, required — Boolean indicator of the locale is enabled for the project.
        - `localeId` string, required — The identifier for the specific locale configured for the project.

## Other responses

- `400` — Provided request parameters are invalid.
- `401` — Provided credentials are not valid.
- `429` — Too many simultaneous API requests.
- `500` — Unexpected error

---

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