{"schemaVersion":1,"id":"lingui","name":"Lingui","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/lingui/","officialUrl":"https://github.com/lingui/js-lingui","isCatalog":false,"description":"JavaScript and React localization tools with message catalogs: extract interface text and connect translations.","tasks":["Extract and connect interface translations","Prepare message catalogs and test locale switching"],"categoryIds":["frontend"],"subcategoryIds":["frontend.utilities"],"tags":["Lingui","web","Development"],"aliases":["lingui/js-lingui","js-lingui","lingui-js"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Extract and connect interface translations","chooseWhen":["Extract and connect interface translations","Prepare message catalogs and test locale switching"],"considerInstead":[],"requirements":["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":["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."],"faq":[{"question":"What can you use for free in Lingui?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Lingui?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Lingui?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with Lingui?","answer":"Mark translatable messages in application source code. Prepare message catalogs and test locale switching. Add real data and error handling; check the production build."},{"question":"What does Lingui do at build time, and what remains at runtime?","answer":"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."}],"related":[],"sources":["https://github.com/lingui/js-lingui","https://raw.githubusercontent.com/lingui/js-lingui/HEAD/README.md","https://raw.githubusercontent.com/lingui/js-lingui/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Extract and connect interface translations.","inputs":["Web application source code and the intended workflow.","The project's framework and runtime version."],"steps":["Mark translatable messages in application source code.","Prepare message catalogs and test locale switching.","Add real data and error handling; check the production build."],"checks":["The workflow works after a page refresh and with invalid data.","The bundle, server rendering, and supported browsers suit the project."]},"sources":["https://github.com/lingui/js-lingui","https://raw.githubusercontent.com/lingui/js-lingui/HEAD/README.md","https://raw.githubusercontent.com/lingui/js-lingui/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"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.","relatedIds":["weblate","tolgee","i18n-check"],"dataVersion":"cbbe7123b47a5ae80983","type":"Web framework / library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/lingui/js-lingui","label":"Official source"},{"url":"https://raw.githubusercontent.com/lingui/js-lingui/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/lingui/js-lingui/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"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.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}