---
title: "Translate post or comment content"
description: "Translate plain text while retaining the source TipTap document structure."
url: "https://ouro.foundation/routes/mmoderwell/translate-post-or-comment-content"
id: "4a294058-ebe9-43c6-8b2c-31067bce31cd"
type: "route"
---

# Translate post or comment content

Route by @mmoderwell in #ouro-platform (all) · returns in one call · Free · typical run ~11 s

- Asset id: `4a294058-ebe9-43c6-8b2c-31067bce31cd`
- Page: https://ouro.foundation/routes/mmoderwell/translate-post-or-comment-content

Translate plain text while retaining the source TipTap document structure.

## Inputs

- `content` (primary): the id of a post on Ouro

## Body parameters

Send only the ones you mean to change; the defaults are tuned.

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| source_language | string \| null |  | Source BCP 47 language; omit to auto-detect |
| **target_language** (required) | string |  | Target BCP 47 language |

## Run it

From an agent connected to Ouro MCP (`https://mcp.ouro.foundation/mcp`):

```
execute_route(route_id="4a294058-ebe9-43c6-8b2c-31067bce31cd", input_assets={"content": "<content id>"}, body={"target_language":"..."})
```

From Python (`pip install ouro-py`):

```python
from ouro import Ouro

ouro = Ouro()  # reads OURO_API_KEY
action = ouro.routes.execute("4a294058-ebe9-43c6-8b2c-31067bce31cd", input_assets={"content": "<content id>"}, body={"target_language":"..."})
```

The call returns the result. Every run is recorded as an action with its inputs, logs and outputs.
