Skip to content

lingui-for

Community-maintained Lingui support for frameworks and languages with their own syntax.

lingui-for exists to close the gap between Lingui’s official macro model and frameworks that have their own authoring syntax.

The project is built around two constraints:

  • Macro-first: users should write t, msg, Trans, Plural, and friends directly in the framework’s natural syntax.
  • Official-first: behavior should match official Lingui Core and React semantics as closely as possible instead of inventing a parallel translation model.

Concepts

Start here if you want the design constraints, goals, and framework support boundaries before diving into setup.

Framework Guides

Each supported framework gets its own installation and caveats pages, with framework-specific runtime notes.

Macro Reference

Each macro has its own page. Core macros and component macros are documented separately, with framework-specific examples split into synchronized tabs.

Guides

Workflow-oriented guides explain how to install, add locales, share descriptors, and verify the extraction pipeline.