Install any skill in seconds. Free to start, no credit card required.
Get Started Free →platformplatform/lingui-best-practices
Implement internationalization with Lingui in React and JavaScript applications.
Passed 22 of 23 test cases with the skill, and 12 of 23 without it.
and 9 more in the full report
11 fixed11 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
After translators finish updating the raw `.po` catalog files, what CLI command must be executed before the app runtime can consume the translations?
| Checked | Without skill | With skill |
|---|---|---|
| Specifies lingui compile for compiling message catalogs. | Missed | Passed |
The instructions your model reads when the skill loads.
Lingui is a powerful internationalization (i18n) framework for JavaScript. This skill covers best practices for implementing i18n in React and vanilla JavaScript applications.
The standard Lingui workflow consists of these steps:
I18nProviderTrans, t, etc.)lingui extractlingui compileImport from these packages:
// React macros (recommended)
import { Trans, Plural, Select, useLingui } from "@lingui/react/macro";
// Core macros for vanilla JS
import { t, msg, plural, select } from "@lingui/core/macro";
// Runtime (rarely used directly)
import { I18nProvider } from "@lingui/react";
import { i18n } from "@lingui/core";
Wrap your application with I18nProvider:
import { I18nProvider } from "@lingui/react";
import { i18n } from "@lingui/core";
import { messages } from "./locales/en/messages";
test cases passed, vs 12 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.