Translate and localize multilingual content with DeepL and GPT-4o-mini

Go to Workflow
0 views
Built by masahiro hanawa masahiro hanawa
Created on December 15, 2025

Description

Translate and localize content using DeepL and GPT-4o-mini

Managing high-quality translations across multiple languages often requires more than just machine translation; it requires cultural context and quality assurance. This workflow automates the entire pipeline, from initial translation to AI-driven quality scoring and cultural localization.

Who is this for?
Content Teams:** To automate the first draft and review process for blog posts or documentation.
Marketing Agencies:** To localize campaign copy for international markets quickly.
Product Managers:** To manage UI/UX copy across different regions with consistent glossary support.

How it works
Content Intake: A Webhook receives the source text and a list of target languages.
Language Detection & Validation: The workflow identifies the source language and validates the requested target codes.
Parallel Processing: Using the Split Out node, the workflow processes each target language simultaneously.
DeepL Translation: High-quality neural machine translation is performed for each language.
AI Quality Review: GPT-4o-mini acts as a professional linguist, scoring the translation on accuracy, fluency, and style, and flagging any issues.
Cultural Localization: A specialized node applies region-specific formatting for dates and currencies.
Aggregation & Reporting: All results are unified, logged to Google Sheets, emailed via Gmail, and returned as a JSON response to the initial requester.

How to set up
Credentials: Connect your DeepL API, OpenAI, Google Sheets, and Gmail accounts.
Google Sheets: Create a sheet with headers: Job ID, Source Text, Languages, Avg Quality, and Completed. Paste the Sheet ID into the Google Sheets node.
Webhook: Use the production URL in your CMS or app to trigger the workflow with a POST request.

Requirements
DeepL API Key** (Free or Pro)
OpenAI API Key** (for GPT-4o-mini)
Google Account** (for Sheets and Gmail)

How to customize
Adjust AI Rubric:** Modify the "AI Quality Review" prompt to focus on specific brand voice guidelines or technical terminology.
Glossary Support:** Update the DeepL node to include specific Glossary IDs for industry-specific jargon.
Localization Rules:** Add more regions or specific formatting rules (like measurement conversions) in the "Apply Localization" Code node.

This workflow was created by masahiro hanawa and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (6)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
DeepL
n8n-nodes-base.deepL
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi