Field SOP
Field SOP

Multi-Language Auto-Translation Workflow Template: n8n Trigger + LLM Translation + Multi-Endpoint Distribution (Downloadable)

Taking content overseas or running a multilingual site means manually translating every post-grunt work. n8n watches source-doc updates, an LLM translates per a glossary, and writes to per-language dirs. Includes a .json template download and a companion translation prompt.

Published July 27, 20264 min read
<!-- workflow-auto-translation | resource | multi-language auto-translation workflow template -->

Taking content overseas or running a multilingual site means manually translating every post-grunt work. This n8n workflow watches source-doc updates, auto-translates to target languages via an LLM following a glossary, and drops the result into the right per-language directory. Edit the source, and the localized versions follow automatically.

Workflow Chain

Source-doc update trigger -> extract source + glossary -> LLM translation (glossary + style) -> write to target-language directory -> notify (optional human review).

Download Template

Usage Steps

  1. Import: n8n -> Workflows -> Import from File, pick auto-translation.json
  2. Trigger node: wire up your source-doc origin (Git webhook / Feishu Docs webhook / scheduled directory scan)
  3. Glossary node: configure a glossary file (CSV/JSON, term -> translation) the LLM must obey
  4. LLM node: fill in API key; pick DeepSeek / Qwen (great value for CN-EN), prompt outputs pure translation
  5. Write node: write per language into target dirs (e.g. en/posts/, ja/posts/)
  6. Notify node: send to Feishu / Slack on completion; optional human-review step
  7. Test run: edit one source doc, see whether the target-language version appears

Companion Prompt (LLM Translation)

Prompt
You are a professional translator fluent in {{source_language}} and {{target_language}}. Translate the following text:
1. Must follow the glossary-keep terminology consistent
2. Fluent and idiomatic, matching {{target_language}} conventions
3. Preserve the original Markdown structure (headings/code blocks/tables intact)
4. Translate comments inside code blocks too; leave the code itself unchanged
5. Output pure translation
Glossary: {{glossary}}
Text: {{source_text}}

Pitfalls

  • Inconsistent terminology: without a glossary, the same term gets translated differently per post. Force the LLM to read the glossary and run a terminology-consistency check on output.
  • Broken Markdown structure: the LLM can drop code-block markers or tables mid-translation. State "preserve structure" in the prompt and run a Markdown compliance check before writing.
  • Machine-translation flavor: pure LLM output has an AI whiff. Add a human-review node for key content (homepage / marketing); long-form content can ship direct.

References

This article is AI-assisted and human-edited. Last updated: 2026-07-27

Related