by lingodotdev
Provides an AI‑powered i18n toolkit that enables instant localization of web and mobile applications using large language models, with options to bring your own LLM or use the built‑in translation engine.
Lingo Dev offers a suite of tools—Compiler, CLI, CI/CD integration, and SDK—to automatically translate strings in JavaScript/TypeScript projects (React, React‑Native, etc.) at build time or runtime, leveraging LLMs for high‑quality output.
npm install lingo.dev
import lingoCompiler from "lingo.dev/compiler";
const existingNextConfig = {};
export default lingoCompiler.next({
sourceLocale: "en",
targetLocales: ["es", "fr"]
})(existingNextConfig);
npx lingo.dev@latest run
- uses: lingodotdev/lingo.dev@main
with:
api-key: ${{ secrets.LINGODOTDEV_API_KEY }}
import { LingoDotDevEngine } from "lingo.dev/sdk";
const engine = new LingoDotDevEngine({ apiKey: "your-api-key" });
const translated = await engine.localizeObject(content, { sourceLocale: "en", targetLocale: "es" });
Q: Do I need to modify my existing React components? A: No. The Compiler works as middleware and injects translations at build time.
Q: Can I use my own LLM instead of the hosted engine? A: Yes. Provide the appropriate API endpoint and key in the SDK/CLI configuration.
Q: How are translation costs managed? A: Only strings that change are re‑translated, reducing token usage. You can set usage limits via the API key settings.
Q: Is the solution compatible with other frameworks (e.g., Vue)? A: Currently focused on React/Next.js, but the underlying SDK can be integrated with any JavaScript project.
Q: Where can I get help? A: Join the Discord community, open an issue on GitHub, or consult the official documentation links provided in the README.
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.
Discover more MCP servers with similar functionality and use cases
by translated
Provides translation capabilities via the Model Context Protocol, allowing AI applications to access Lara Translate API for language detection, context‑aware translation, and translation memory management.
by DeepLcom
Provides translation and rephrasing capabilities via the DeepL API, exposing tools through a Model Context Protocol server.
by netdata
Real-time, per‑second infrastructure monitoring platform that provides instant insights, auto‑discovery, edge‑based machine‑learning anomaly detection, and lightweight visualizations without requiring complex configuration.
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by github
Enables AI agents, assistants, and chatbots to interact with GitHub via natural‑language commands, providing read‑write access to repositories, issues, pull requests, workflows, security data and team activity.
by daytonaio
Provides a secure, elastic sandbox environment for executing AI‑generated code with isolated runtimes and sub‑90 ms provisioning.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by chaitin
Provides a self‑hosted web application firewall and reverse‑proxy that filters, monitors, and blocks malicious HTTP/S traffic, protecting web applications from attacks such as SQL injection, XSS, brute‑force, bot abuse, and various code injections.
by PipedreamHQ
Connect APIs quickly, run event‑driven automations, and execute custom code in Node.js, Python, Go, or Bash on a hosted platform.