FindSoftware

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

Status
Active
Maintainer
Crowdin4
First release
20178

Rendering and deploy

Install with
npm5

Releases

Current major version
66
Last release
2026-11-037

Adoption

GitHub stars
5,9372
npm downloads a week
2,573,2439
Contributors
28010
Dependent repositories
1,43711
Dependent packages
11411

Why these figures do not compare

Sources

  1. 2026-11-16: links
    lingui.dev/
  2. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/lingui/js-lingui
  3. 2026-11-16: links
    lingui.dev/installation.md
  4. 2026-11-16: Maintainer
    raw.githubusercontent.com/lingui/js-lingui/main/LICENSE
  5. 2026-11-16: Categories, Runtime, Install with, License model
    raw.githubusercontent.com/lingui/js-lingui/main/README.md
  6. 2026-11-16: Current major version
    api.github.com/repos/lingui/js-lingui/releases/tags/v6.12.0
  7. 2026-11-16: Last release
    api.github.com/repos/lingui/js-lingui/releases
  8. 2026-11-16: First release
    registry.npmjs.org/lingui-react
  9. 2026-11-16: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@lingui/core
  10. 2026-11-16: Contributors
    api.github.com/repos/lingui/js-lingui/contributors?per_page=1
  11. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40lingui%2Fcore
  12. 2026-11-16: Content storage
    lingui.dev/introduction.md

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON