---
updatedAt: 2026-08-07T22:09:02.000Z
agentTools:
  projectIndex: https://developer-docs.rivo.io/llms.txt
---

# Create a translation locale

Create a translation

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Rivo Developer API",
    "description": "Extensibility to suit your needs",
    "termsOfService": "https://www.rivo.io/terms",
    "contact": {
      "email": "developers@rivo.io",
      "url": "https://developers.rivo.io"
    },
    "version": "0.0.1"
  },
  "tags": [
    {
      "name": "translations",
      "description": "Operations about translations"
    }
  ],
  "paths": {
    "/v1/translations": {
      "post": {
        "summary": "Create a translation locale",
        "description": "Create a translation",
        "parameters": [
          {
            "in": "header",
            "name": "Authorization",
            "description": "Merchant Auth Token",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "locale": {
                    "description": "Locale code (e.g. en, es, fr)",
                    "type": "string"
                  },
                  "translation_type": {
                    "description": "Translation type",
                    "type": "string",
                    "enum": [
                      "account_widget",
                      "loyalty_landing_page",
                      "general"
                    ]
                  },
                  "prefill_translations": {
                    "description": "Prefill the new locale with AI translations",
                    "type": "boolean"
                  }
                },
                "required": [
                  "locale",
                  "translation_type"
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Create a translation"
          }
        },
        "tags": [
          "translations"
        ],
        "operationId": "create-translation"
      }
    }
  },
  "servers": [
    {
      "url": "//developer-api.rivo.io/merchant_api"
    }
  ]
}
```