MCPcopy
hub / github.com/lingodotdev/lingo.dev

github.com/lingodotdev/lingo.dev @0.137.8 sqlite

repository ↗ · DeepWiki ↗ · release 0.137.8 ↗
1,582 symbols 5,297 edges 546 files 143 documented · 9%
README

Lingo.dev – localization engineering platform

Open-source localization engineering tools. Connect to Lingo.dev localization engineering platform for consistent, quality translations.

Lingo APILingo React MCPLingo CLILingo GitHub ActionLingo Compiler for React (Early alpha)

Release License Last Commit Product Hunt #1 DevTool of the Month Product Hunt #1 DevTool of the Week Product Hunt #2 Product of the Day Github trending


Quick Start

Tool What it does Quick Command
Lingo React MCP AI-assisted i18n setup for React apps Prompt: Set up i18n
Lingo CLI Localize JSON, YAML, markdown, CSV, PO files npx lingo.dev@latest run
Lingo GitHub Action Continuous localization in GitHub Actions uses: lingodotdev/lingo.dev@main
Lingo Compiler for React Build-time React localization without i18n wrappers withLingo() plugin

Localization engines

These tools connect to localization engines – stateful translation APIs you create on the Lingo.dev localization engineering platform. Each engine persists glossaries, brand voice, and per-locale instructions across every request, reducing terminology errors 16.6–44.6%. Or bring your own LLM.


Lingo.dev MCP

Setting up i18n in React apps is error-prone – even AI coding assistants hallucinate non-existent APIs and break routing. Lingo.dev MCP gives AI assistants structured access to framework-specific i18n knowledge for Next.js, React Router, and TanStack Start. Works with Claude Code, Cursor, GitHub Copilot Agents, and Codex.

Read the docs →


Lingo.dev CLI

Localize JSON, YAML, markdown, CSV, and PO files in one command. A lockfile tracks what's already localized – only new or changed content gets processed. Defaults to your localization engine on Lingo.dev, or bring your own LLM (OpenAI, Anthropic, Google, Mistral, OpenRouter, Ollama).

npx lingo.dev@latest init
npx lingo.dev@latest run

Read the docs →


Lingo.dev CI/CD

Continuous localization in your pipeline. Every push triggers localization – missing strings get filled before code reaches production. Supports GitHub Actions, GitLab CI/CD, and Bitbucket Pipelines.

uses: lingodotdev/lingo.dev@main
with:
  api-key: ${{ secrets.LINGODOTDEV_API_KEY }}

Read the docs →


Lingo.dev API

Call your localization engine directly from backend code. Synchronous and async localization with webhook delivery, failure isolation per locale, and real-time progress via WebSocket.

Read the docs →


Lingo Compiler for React (Early alpha)

Build-time React localization without i18n wrappers. Write components with plain English text – the compiler detects translatable strings and generates localized variants at build time. No translation keys, no JSON files, no t() functions. Supports Next.js (App Router) and Vite + React.

Read the docs →


Contributing

Contributions welcome. Please follow these guidelines:

  1. Issues: Report bugs or request features
  2. Pull Requests: Submit changes
  3. Every PR requires a changeset: pnpm new (or pnpm new:empty for non-release changes)
  4. Ensure tests pass before submitting
  5. Development: This is a pnpm + turborepo monorepo
  6. Install dependencies: pnpm install
  7. Run tests: pnpm test
  8. Build: pnpm build

Support: Discord community

Star History

If you find Lingo.dev useful, give us a star and help us reach 10,000 stars!

Star History Chart

Localized Documentation

Available translations:

English中文日本語한국어EspañolFrançaisРусскийУкраїнськаDeutschItalianoالعربيةעבריתहिन्दीPortuguês (Brasil)বাংলাفارسیPolskiTürkçeاردوभोजपुरीঅসমীয়াગુજરાતીमराठीଓଡ଼ିଆਪੰਜਾਬੀසිංහලதமிழ்తెలుగు

Adding a new language:

  1. Add locale code to i18n.json using BCP-47 format
  2. Submit a pull request

Extension points exported contracts — how you extend this code

TranslationCache (Interface)
(no doc) [4 implementers]
packages/new-compiler/src/translators/cache.ts
MockStorage (Interface)
(no doc) [2 implementers]
packages/cli/tests/mock-storage.ts
LCPCacheParams (Interface)
(no doc)
packages/compiler/src/lib/lcp/cache.ts
LocaleComponents (Interface)
(no doc)
packages/locales/src/types.ts
Options (Interface)
(no doc)
integrations/directus/src/api.ts
FileRoutesByFullPath (Interface)
(no doc)
demo/new-compiler-vite-react-spa/src/routeTree.gen.ts
NextLocaleResolverConfig (Interface)
* Configuration for Next.js locale resolver
packages/new-compiler/src/react/next/cookie-locale-resolver.ts
IIntegrationFlow (Interface)
(no doc) [1 implementers]
packages/cli/src/cli/cmd/ci/flows/_base.ts

Core symbols most depended-on inside this repo

pull
called by 747
packages/cli/src/cli/loaders/_types.ts
push
called by 614
packages/cli/src/cli/loaders/_types.ts
setDefaultLocale
called by 608
packages/cli/src/cli/loaders/_types.ts
log
called by 236
packages/new-compiler/src/utils/logger.ts
createBucketLoader
called by 146
packages/cli/src/cli/loaders/index.ts
parse
called by 132
packages/cli/src/cli/loaders/xcode-strings/parser.ts
info
called by 103
packages/new-compiler/src/utils/logger.ts
transformComponent
called by 97
packages/new-compiler/src/plugin/transform/index.ts

Shape

Function 1,161
Method 234
Interface 121
Class 64
Enum 2

Languages

TypeScript100%

Modules by API surface

packages/cli/src/cli/loaders/android.ts63 symbols
packages/sdk/src/index.ts31 symbols
scripts/docs/src/generate-cli-docs.ts29 symbols
packages/new-compiler/src/translation-server/translation-server.ts27 symbols
packages/cli/src/cli/utils/errors.ts27 symbols
packages/new-compiler/src/plugin/transform/process-file.ts25 symbols
packages/cli/src/cli/loaders/dato/extract.ts24 symbols
packages/compiler/src/utils/llm-api-key.ts23 symbols
packages/new-compiler/tests/helpers/setup-fixture.ts21 symbols
packages/cli/src/cli/loaders/xliff.ts20 symbols
packages/compiler/src/lib/lcp/index.ts18 symbols
packages/compiler/src/utils/index.ts17 symbols

Dependencies from manifests, versioned

lingodotdev/sdk* · 1×
@ai-sdk/anthropic3.0.9 · 1×
@ai-sdk/google3.0.6 · 1×
@ai-sdk/groq3.0.4 · 1×
@ai-sdk/mistral3.0.5 · 1×
@ai-sdk/openai3.0.7 · 1×
@babel/core7.29.6 · 1×
@babel/generator7.28.5 · 1×
@babel/parser7.28.5 · 1×
@babel/preset-react7.26.3 · 1×
@babel/preset-typescript7.26.0 · 1×
@babel/traverse7.28.5 · 1×

For agents

$ claude mcp add lingo.dev \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact