---
title: "Translate single field to one locale"
method: POST
path: "/api/v1/admin/translate/field/to-locale"
tags: ["Translation"]
---

# Translate single field to one locale

`POST /api/v1/admin/translate/field/to-locale`

Translate one field from primary (zh) to target locale. Simple API.

## Request body

- object
  - `fieldKey` 'name' | 'description' | 'licenseTitle' | 'defaultScope' | 'tierFeature' | 'buttonText' | 'extraTopLine' | 'extraSubLine' | 'fieldLabel' | 'fieldPlaceholder' | 'fieldHelpText', required
  - `primaryValue` union, required
    - string
    - object
      - `text` string
      - `tooltip` string
      - `negative` boolean
  - `targetLocale` string, required

## Response `200`

Translated value

- object — Translated value
  - `success` boolean, required
  - `data` unknown, required

---

[API](https://skmtc.dev/newapi/apis/qn-platform-api.md) · [All operations](https://skmtc.dev/newapi/apis/qn-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/newapi/qn-platform-api/revisions/d61f11e363ff/schema)
