---
title: "Translate single field (batch)"
method: POST
path: "/api/v1/admin/translate/field"
tags: ["Translation"]
---

# Translate single field (batch)

`POST /api/v1/admin/translate/field`

Translate one field from primary (zh) to multiple locales. 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
  - `targetLocales` string[], required

## Response `200`

Translations by locale

- object — Translations by locale
  - `success` boolean, required
  - `data` object, 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)
