npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@i18n-agent/n8n-node

v1.0.1

Published

n8n node for i18n Agent - AI-powered translation service with cultural adaptation

Readme

@i18n-agent/n8n-node

This is an n8n community node for i18n Agent, an AI-powered translation service with cultural adaptation capabilities.

Features

  • Text Translation: Translate text content with AI-powered cultural adaptation
  • File Translation: Translate structured files (JSON, YAML, XML, CSV, etc.) while preserving format
  • Document Translation: Support for PDF and Word documents
  • Language Detection: Automatic source language detection
  • Cultural Context: Industry-specific terminology and regional variations
  • Batch Processing: Process multiple items in your workflow

Installation

Community Node (Recommended)

In n8n, go to Settings > Community Nodes and search for @i18n-agent/n8n-node.

Manual Installation

  1. Navigate to your n8n custom nodes folder:

    cd ~/.n8n/nodes
  2. Install from npm:

    npm install @i18n-agent/n8n-node

    Or clone this repository:

    git clone https://github.com/i18n-agent/n8n-node.git
    cd n8n-node
    npm install
  3. Build the node:

    npm run build
  4. Restart n8n

Docker Installation

If you're using n8n with Docker, mount the node as a volume:

docker run -it --rm \
  --name n8n \
  -p 5678:5678 \
  -v ~/.n8n:/home/node/.n8n \
  -v ~/n8n-node:/home/node/.n8n/nodes/n8n-node \
  n8nio/n8n

Configuration

Getting an API Key

  1. Sign up at i18nagent.ai
  2. Navigate to your dashboard
  3. Go to Settings > API Keys
  4. Create a new API key (it will start with i18n_)

Setting up Credentials in n8n

  1. In n8n, go to Credentials > New
  2. Search for "i18n Agent"
  3. Enter your API key
  4. Select your environment (Production/Development/Custom)
  5. Save the credentials

Usage

Text Translation

  1. Add the i18n Agent node to your workflow
  2. Select Text as the resource
  3. Choose Translate operation
  4. Enter the text to translate
  5. Select target language
  6. Configure optional settings (audience, industry, region)

File Translation

  1. Add the i18n Agent node to your workflow
  2. Select File as the resource
  3. Choose Translate File operation
  4. Connect a node that provides binary data (e.g., Read Binary File)
  5. Select target language
  6. Configure file type and output format

Workflow Examples

Example 1: Translate Customer Support Emails

{
  "nodes": [
    {
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [250, 300]
    },
    {
      "name": "i18n Agent",
      "type": "n8n-nodes-base.i18nAgent",
      "position": [450, 300],
      "parameters": {
        "resource": "text",
        "operation": "translate",
        "text": "={{$node['Gmail Trigger'].json['text']}}",
        "targetLanguage": "es",
        "additionalOptions": {
          "targetAudience": "formal",
          "industry": "customer_support"
        }
      }
    },
    {
      "name": "Send Reply",
      "type": "n8n-nodes-base.gmail",
      "position": [650, 300]
    }
  ]
}

Example 2: Batch Translate Product Descriptions

{
  "nodes": [
    {
      "name": "Spreadsheet File",
      "type": "n8n-nodes-base.spreadsheetFile",
      "position": [250, 300]
    },
    {
      "name": "i18n Agent",
      "type": "n8n-nodes-base.i18nAgent",
      "position": [450, 300],
      "parameters": {
        "resource": "text",
        "operation": "translate",
        "text": "={{$json['description']}}",
        "targetLanguage": "fr",
        "additionalOptions": {
          "targetAudience": "general",
          "industry": "ecommerce",
          "region": "France"
        }
      }
    }
  ]
}

Node Reference

Resources

Text

  • Translate: Translate text content with cultural adaptation

File

  • Translate File: Translate files while preserving structure

Language

  • List: Get all supported languages with quality ratings

Common Parameters

| Parameter | Type | Description | Required | |-----------|------|-------------|----------| | Target Language | Select | Language to translate to | Yes | | Target Audience | Select | general, technical, casual, formal | No | | Industry | Select | Industry context for specialized terms | No | | Source Language | String | Auto-detected if not specified | No | | Region | String | Specific regional variant | No | | Notes | String | Additional translation instructions | No |

File-Specific Parameters

| Parameter | Type | Description | Default | |-----------|------|-------------|---------| | File Type | Select | Format of the input file | auto | | Preserve Keys | Boolean | Keep structure in JSON/YAML | true | | Output Format | Select | Desired output format | same |

Supported Languages

The node supports 100+ languages including:

  • Major languages: Spanish, French, German, Japanese, Chinese, etc.
  • Regional variants: pt-BR, zh-Hans, zh-Hant
  • RTL languages: Arabic, Hebrew, Persian

Use the List Languages operation to get the current list with quality ratings.

Supported File Formats

  • Structured: JSON, YAML, XML, CSV
  • Documents: PDF, DOCX, DOC
  • Markup: HTML, Markdown
  • Configuration: Properties files
  • Plain text: TXT

Error Handling

The node includes comprehensive error handling:

  • 401: Invalid API key
  • 402: Insufficient credits
  • 400: Validation errors
  • 500: Server errors

Enable "Continue On Fail" in node settings to handle errors gracefully in your workflow.

Advanced Features

Streaming (Coming Soon)

The API supports Server-Sent Events (SSE) for real-time translation progress. This feature will be added in a future version.

Batch Processing

The node automatically handles n8n's item-based processing, allowing you to translate multiple items efficiently.

Cultural Adaptation

The AI model considers:

  • Industry-specific terminology
  • Regional language variations
  • Formal/informal tone
  • Cultural context and idioms

Support

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Changelog

Version 1.0.0

  • Initial release
  • Text translation support
  • File translation support
  • Language listing
  • Full API integration