# Lingui

[BASE product page](<https://base.akulich.dev/en/library/lingui/>) · [Resource](<https://github.com/lingui/js-lingui>)

ID: lingui · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

JavaScript and React localization tools with message catalogs: extract interface text and connect translations\.

## Type

Web framework / library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/lingui/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/lingui/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/lingui/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/lingui/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/lingui/#resource-tasks>)

- Extract and connect interface translations
- Prepare message catalogs and test locale switching

## Category IDs

- frontend

## Subcategory IDs

- frontend\.utilities

## Tags

- Lingui
- web
- Development

## Also known as

- lingui/js\-lingui
- js\-lingui
- lingui\-js

## [Selection purpose](<https://base.akulich.dev/en/library/lingui/#resource-selection>)

Extract and connect interface translations

## [Choose this when](<https://base.akulich.dev/en/library/lingui/#resource-selection>)

- Extract and connect interface translations
- Prepare message catalogs and test locale switching

## [Requirements](<https://base.akulich.dev/en/library/lingui/#resource-selection>)

- Lingui 6 requires Node\.js 22\.19\+ and an ESM\-compatible environment; macros use a Babel plugin or SWC plugin\. @lingui/react supports React 16\.14\+\.

## [Limitations](<https://base.akulich.dev/en/library/lingui/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- Lingui 6 packages are ESM\-only except for the CommonJS metro\-transformer; community integrations have their own support boundaries\.

## [Questions before use](<https://base.akulich.dev/en/library/lingui/#resource-faq>)

### What can you use for free in Lingui?

Code and local use under MIT\.

### What additional costs might arise with Lingui?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for Lingui?

MIT for the code; dependencies have separate licenses\.

### How do you get started with Lingui?

Mark translatable messages in application source code\. Prepare message catalogs and test locale switching\. Add real data and error handling; check the production build\.

### What does Lingui do at build time, and what remains at runtime?

Macros mark messages in source; extract creates catalogs, and compile converts them into runtime output without a MessageFormat parser\. PO is the default; JSON, CSV, and custom formats are available\. React bindings are separate from the core, and Svelte/Astro integrations are listed as community packages\.

## Sources for the selection guide

- [https://github\.com/lingui/js\-lingui](<https://github.com/lingui/js-lingui>)
- [https://raw\.githubusercontent\.com/lingui/js\-lingui/HEAD/README\.md](<https://raw.githubusercontent.com/lingui/js-lingui/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/lingui/js\-lingui/HEAD/LICENSE](<https://raw.githubusercontent.com/lingui/js-lingui/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)

## [Possible workflow](<https://base.akulich.dev/en/library/lingui/#resource-scenario>)

Extract and connect interface translations\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Web application source code and the intended workflow\.
- The project's framework and runtime version\.

## Steps

1. Mark translatable messages in application source code\.
2. Prepare message catalogs and test locale switching\.
3. Add real data and error handling; check the production build\.

## Check your result

- The workflow works after a page refresh and with invalid data\.
- The bundle, server rendering, and supported browsers suit the project\.

## [License](<https://base.akulich.dev/en/library/lingui/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- weblate
- tolgee
- i18n\-check

## [Sources](<https://base.akulich.dev/en/library/lingui/#resource-sources>)

- [Official source](<https://github.com/lingui/js-lingui>)
- [Official source](<https://raw.githubusercontent.com/lingui/js-lingui/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/lingui/js-lingui/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
