---
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-ui-text/openclaw
---
# How to Translate UI Text 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 these UI strings to Thai using the translate tool"
3. OpenClaw returns translated strings with placeholders preserved
4. Request: "Check for any strings where the translation might not fit in a button or label"
5. Integrate the translations into your locale files

## Example Prompt

```
Translate our web app UI strings to Thai and Vietnamese. Keep all {count} and {name} placeholders unchanged.
```

## Tips

- Use list_languages first to confirm all target languages are supported
- Ask OpenClaw to group translations by UI component type for easier review
- Prioritize user-facing strings (buttons, headers) over developer-facing ones (logs)
