
Lingui
Open-source internationalization library for JavaScript and TypeScript that extracts messages from source code into catalogs and compiles them at build time.
Lingui is an internationalization library for JavaScript and TypeScript. Messages are written in the source with compile-time macros, a CLI extracts them into catalogs, and the catalogs are compiled at build time.
The core package is framework-agnostic. React, Vue and SolidJS have official bindings, and Astro and Svelte are supported through community packages. The repository is a monorepo that also holds the CLI, the macro, Vite and SWC plugins, an ESLint plugin and the documentation site.
Worth knowing
The macros need a build step: the README says they need Babel with the Lingui macro plugin or SWC with the Lingui SWC plugin. Lingui 6 packages are ESM-only. The installation guide asks for a recent Node.js, a build requirement because the library itself also runs in browsers.
Identity
Rendering and deploy
- Install with
- npm5
Releases
Adoption
Sources
- 2026-11-16: links
lingui.dev/ - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/lingui/js-lingui - 2026-11-16: links
lingui.dev/installation.md - 2026-11-16: Maintainer
raw.githubusercontent.com/lingui/js-lingui/main/LICENSE - 2026-11-16: Categories, Runtime, Install with, License model
raw.githubusercontent.com/lingui/js-lingui/main/README.md - 2026-11-16: Current major version
api.github.com/repos/lingui/js-lingui/releases/tags/v6.12.0 - 2026-11-16: Last release
api.github.com/repos/lingui/js-lingui/releases - 2026-11-16: First release
registry.npmjs.org/lingui-react - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@lingui/core - 2026-11-16: Contributors
api.github.com/repos/lingui/js-lingui/contributors?per_page=1 - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40lingui%2Fcore - 2026-11-16: Content storage
lingui.dev/introduction.md