lara-translate

n8n community node for translating text and documents with Lara Translate API

Package Information

Downloads: 122 weekly / 569 monthly
Latest Version: 1.0.5
Author: Lara Translate

Documentation

🌐 Lara Translate for n8n

Official n8n community node for Lara Translate, enabling powerful translation capabilities with support for language detection, context-aware translations, translation memories and glossaries.

Version
n8n Community Node


📑 Table of Contents

Requirements

  • Node.js version 20.15 or higher
  • pnpm - Package manager (install with npm install -g pnpm)
  • n8n - Installed globally (npm install -g n8n)
  • nvm (optional) - Node version manager for easy Node.js version switching
  • Lara Translate API credentials (Access Key ID and Access Key Secret)

✨ Features

  • Translate Text — Translate plain text and XLIFF content with support for 200+ languages and automatic language detection
  • Translate Document — Translate files (PDF, DOCX, XLSX, PPTX, HTML, XML) while preserving original formatting
  • AI Agent Tool — Use as a tool in n8n AI Agent workflows for autonomous, context-driven translations
  • Instructions — Guide translations with natural-language directives to control formality, tone, terminology, and style
  • Translation Memories — Leverage previously approved translations for consistent voice and style across all your content
  • Glossaries — Enforce specific term translations to ensure consistency for brand names, jargon, and domain-specific vocabulary
  • Translation Styles — Choose between faithful, fluid, or creative translation approaches to match your content type
  • No Trace Mode — Translate sensitive content without storing data on Lara's servers
  • Caching — Cache translations for identical requests to reduce API calls and improve response times

Installation

Install via n8n Community Nodes

📖 See the official n8n community nodes installation guide

Local Development

📖 For setup instructions, see Getting Started

Quick Start

Before You Begin

To use this node you need:

  • An account on Lara Translate (you can start for free)
  • Your API credentials (Access Key ID and Access Key Secret)

💡 Don't have API credentials yet? Follow our API Credentials Guide

Step 1: Add the Node to Your Workflow

  1. Open or create a new workflow in n8n
  2. Click the + button to open the nodes menu
  3. Search for "Lara Translate" in the search bar
  4. Click on the node to add it to the canvas

Step 2: Configure Credentials

The first time you use the node, you need to configure your credentials:

  1. In the Lara Translate node, click Select CredentialCreate New
  2. Enter your credentials:
    • Access Key ID: your public key
    • Access Key Secret: your secret key
  3. Click Save to save the credentials

Step 3: Choose What to Translate

The node offers 2 translation modes and can also be used as an AI Agent tool:

🔤 Translate Text - For texts and short content

Perfect for translating:

  • Messages and notifications
  • Dynamic content from other nodes
  • XLIFF format texts
  • Strings from databases or APIs

Practical example: Automatically translate customer emails into your language before archiving them.

📄 Translate Document - For files and documents

Perfect for translating:

  • PDF, Word, Excel, PowerPoint
  • HTML and XML files
  • Documents while maintaining original formatting

Practical example: Automatically translate documents uploaded by users and save them to a specific folder.

🤖 AI Agent Tool - For autonomous translation

The Lara Translate node can be used as a tool in n8n AI Agent workflows. This allows an AI agent to decide when to translate content as part of a larger automated process — perfect for multilingual chatbots and automated support pipelines. See the Configuration Guide for setup details.

Step 4: Configure the Translation

Basic settings you need to configure:

  1. Source Language: The language of the original text
    • Use "Detect language" if you don't know the source language
  2. Target Language: The language you want to translate to
    • Choose from over 200 available languages
  3. Input Content:
    • For Text Translation: Enter the text directly or map it from previous nodes
    • For Document Translation: Use binary data from previous nodes (e.g., "Read Binary File" node)

Step 5: Test and Activate

  1. Click Execute Node (or Test Step) to try the translation
  2. Check the result in the OUTPUT section
  3. If everything is OK, connect the node to other steps in your workflow
  4. Activate the workflow by clicking the switch in the top right

🎯 Quick Example

Want to translate text from English to Italian?

  1. Add the Lara Translate node
  2. Select Translate Text
  3. Set:
    • Source Language: English
    • Target Language: Italian
    • Text: enter or map the text to translate
  4. Click Execute Node and get the translation!

Documentation

📖 Documentation Flow

Follow this recommended reading path:

  1. Getting Started → Install the node (locally or via n8n)
  2. Configuration → Set up API credentials and basic settings
  3. Choose your operation:

Reference Guides:

Resources

Made with ❤️ by Translated for the n8n community

Discussion