Lingo.dev Compiler
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.
Lingo.dev Compiler works at the framework level with Next.js, Vite, and React Router. It processes React code's Abstract Syntax Tree, deterministically identifies translatable content, feeds contextual boundaries to LLMs, and bakes translations back into the build, making the UI multilingual in seconds and keeping the codebase as the source of truth.
The compiler creates versioned dictionaries that track content changes through file fingerprints, ensuring only modified content gets retranslated. The dictionaries are stored in the lingo
directory, and are versioned using Git.
Currently, Lingo.dev Compiler integrates with GROQ, but we'd love to support more LLMs soon (talk to us or send us a pull request!). Localization happens locally during build time, keeping your React project as the source of truth.
We've built Lingo.dev Compiler scratching our own itch, and we're excited to share it with the community.
Let's begin!
Next steps
- Quick Start — Add multilingual support to your app in 5 minutes
- How it Works — Understand build-time extraction and injection
- Framework Integration — Platform-specific setup guides