---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/translate/use-cases/translate-api-docs/openclaw
---
# How to Translate API Docs with OpenClaw

OpenClaw handles translation as a batch localization pipeline designed for production-scale multilingual operations. Submit entire content sets -- locale files, product catalogs, documentation -- across multiple target languages and receive consistently formatted translations ready for direct import into your CMS, app bundles, or documentation system. The structured output eliminates manual reformatting and integrates cleanly into CI/CD localization workflows where translations need to be generated, validated, and deployed without human intervention at each step.

## Setup

openclaw mcp add toolrouter -- npx -y toolrouter-mcp

## Steps

1. Connect ToolRouter: openclaw mcp add toolrouter -- npx -y toolrouter-mcp
2. Ask OpenClaw: "Translate this API documentation page to Portuguese using the translate tool"
3. OpenClaw returns the translated content with code examples untouched
4. Request: "Check that all technical terms are translated consistently"
5. Publish the translated documentation

## Example Prompt

```
Translate our webhook integration guide into Portuguese and Spanish. Keep all JSON examples and endpoint paths unchanged.
```

## Tips

- Specify which technical terms should remain in English vs. translated
- Ask for inline comments in translated code examples
- Use list_languages to confirm your target language is supported before starting
