How to Translate API Docs with Claude

Translate API documentation with Claude and ToolRouter. Reach international developers in their language.

Tool
Translate icon
Translate

Claude integrates translation into a terminal workflow where you can handle localization alongside development tasks. Translate strings iteratively, discuss the nuances of specific phrases that resist direct translation, and batch-process entire locale files without leaving your session. The conversational depth is particularly useful when working with marketing copy or UI text where cultural context matters -- Claude can explain why a specific phrasing works better in the target language and suggest alternatives when a direct translation would lose impact.

Connect ToolRouter to Claude

1Go to Settings → Connectors → Add custom connector
2Enter the details below and click Add
Name
ToolRouter
URL
https://api.toolrouter.com/mcp
3Done — works on Claude chat, desktop, and mobile

Steps

Once connected (see setup above), use the Translate tool:

  1. Ask Claude: "Translate this API reference page to Japanese using the translate tool"
  2. Claude translates descriptions and guides while preserving code blocks and parameter names
  3. Ask: "Verify that no code examples or endpoint paths were modified"
  4. Claude outputs the translated docs ready for publishing

Example Prompt

Try this with Claude using the Translate tool
Translate our REST API getting-started guide into Japanese and Chinese. Keep all code examples, endpoint URLs, and parameter names in English.

Tips

  • Explicitly tell Claude which elements should remain untranslated (URLs, code, variable names)
  • Ask Claude to translate error messages separately for better i18n integration
  • Use for README files in open-source repos to attract international contributors