by lingodotdev
Provides an AI‑powered toolkit for instant localization of web and mobile applications using LLMs, supporting build‑time compilation, CLI commands, CI/CD automation, and real‑time SDK translation.
Lingo Dev offers a suite of tools that enable developers to make React, Next.js, React‑Native and other JavaScript/TypeScript projects multilingual at build time or runtime. It leverages large language models (LLMs) to generate translations automatically, allowing you to bring your own LLM or use the hosted Lingo.dev Translation Engine.
npx -y lingo.dev
import lingoCompiler from "lingo.dev/compiler";
const nextConfig = {};
export default lingoCompiler.next({
sourceLocale: "en",
targetLocales: ["es", "fr"]
})(nextConfig);
Run next build to generate locale bundles.npx lingo.dev@latest run
The CLI fingerprints strings, caches results, and only re‑translates changed content.name: Lingo.dev i18n
on: [push]
jobs:
i18n:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lingodotdev/lingo.dev@main
with:
api-key: ${{ secrets.LINGODOTDEV_API_KEY }}
import { LingoDotDevEngine } from "lingo.dev/sdk";
const lingo = new LingoDotDevEngine({ apiKey: "your-api-key-here" });
const result = await lingo.localizeObject({ greeting: "Hello" }, { sourceLocale: "en", targetLocale: "es" });
// result => { greeting: "Hola" }
Q: Do I need to modify my React components? A: No. The compiler extracts strings and replaces them with locale bundles automatically.
Q: Can I use a custom LLM? A: Yes. Configure the SDK or CLI with your own API endpoint and key.
Q: Is there a free tier? A: The compiler and CLI are open‑source and free; the hosted translation engine offers a free quota.
Q: How does caching work? A: The CLI fingerprints each string and only re‑translates when the source changes, reducing API calls.
Q: What languages are supported? A: Any language supported by your LLM or the Lingo.dev engine; examples include Spanish, French, German, Japanese, etc.
Lingo.dev Compiler is a free, open-source compiler middleware, designed to make any React app multilingual at build time without requiring any changes to the existing React components.
Install once:
npm install lingo.dev
Enable in your build config:
import lingoCompiler from "lingo.dev/compiler";
const existingNextConfig = {};
export default lingoCompiler.next({
sourceLocale: "en",
targetLocales: ["es", "fr"],
})(existingNextConfig);
Run next build and watch Spanish and French bundles pop out ✨
Read the docs → for the full guide, and Join our Discord to get help with your setup.
| Tool | TL;DR | Docs |
|---|---|---|
| Compiler | Build-time React localization | /compiler |
| CLI | One-command localization for web and mobile apps, JSON, YAML, markdown, + more | /cli |
| CI/CD | Auto-commit translations on every push + create pull requests if needed | /ci |
| SDK | Realtime translation for user-generated content | /sdk |
Below are the quick hits for each 👇
Translate code & content straight from your terminal.
npx lingo.dev@latest run
It fingerprints every string, caches results, and only re-translates what changed.
Follow the docs → to learn how to set it up.
Ship perfect translations automatically.
# .github/workflows/i18n.yml
name: Lingo.dev i18n
on: [push]
jobs:
i18n:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: lingodotdev/lingo.dev@main
with:
api-key: ${{ secrets.LINGODOTDEV_API_KEY }}
Keeps your repo green and your product multilingual without the manual steps.
Instant per-request translation for dynamic content.
import { LingoDotDevEngine } from "lingo.dev/sdk";
const lingoDotDev = new LingoDotDevEngine({
apiKey: "your-api-key-here",
});
const content = {
greeting: "Hello",
farewell: "Goodbye",
message: "Welcome to our platform",
};
const translated = await lingoDotDev.localizeObject(content, {
sourceLocale: "en",
targetLocale: "es",
});
// Returns: { greeting: "Hola", farewell: "Adiós", message: "Bienvenido a nuestra plataforma" }
Perfect for chat, user comments, and other real-time flows.
We're community-driven and love contributions!
If you like what we're doing, give us a ⭐ and help us reach 3,000 stars! 🌟
English • 中文 • 日本語 • 한국어 • Español • Français • Русский • Українська • Deutsch • Italiano • العربية • עברית • हिन्दी • বাংলা • فارسی
Don't see your language? Add it to i18n.json and open a PR!
Please log in to share your review and rating for this MCP.
{
"mcpServers": {
"lingo-dev": {
"command": "npx",
"args": [
"-y",
"lingo.dev"
],
"env": {
"API_KEY": "<YOUR_API_KEY>"
}
}
}
}claude mcp add lingo-dev npx -y lingo.devExplore related MCPs that share similar capabilities and solve comparable challenges
by translated
Provides translation capabilities via a Model Context Protocol server, supporting language detection, context‑aware translations, and management of translation memories, all accessible through HTTP or STDIO interfaces.
by DeepLcom
Provides translation and rephrasing capabilities powered by the DeepL API via a Model Context Protocol server.
by intento
Provides translation capabilities via the Intento API through an MCP server, exposing a translate tool and a language‑codes resource for agents.
by vlinr
Provides automated translation of localization files (.ts, .js, .json) using large language models, extracting the target language from the filename and supporting both single‑file and directory batch processing.
by netdata
Delivers real‑time, per‑second infrastructure monitoring with zero‑configuration agents, on‑edge machine‑learning anomaly detection, and built‑in dashboards.
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
A Model Context Protocol server that provides web content fetching capabilities.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.