---
title: "Create or update translation for a locale"
method: PUT
path: "/admin/models/{id}/translations/{locale}"
tags: ["Admin Models"]
---

# Create or update translation for a locale

`PUT /admin/models/{id}/translations/{locale}`

Upserts a translation for a model in a given locale

## Path parameters

- `id` string, required
- `locale` string, required

## Request body

- UpsertModelTranslationDto
  - `name` string — Translated model name
  - `description` string — Translated model description
  - `firstMsg` string — Translated first message
  - `userFirstMsgHelp` string — Translated user first message help
  - `defaultScenarioInitialMessage` string — Translated default scenario initial message
  - `hobbies` string — Translated hobbies (comma-separated)

## Response `200`

Translation saved successfully

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
