with one click
intlayer-cli
// Manages Intlayer dictionaries and configuration via the Command Line Interface. Use when the user asks to "audit translations", "build dictionaries", "sync content", or run "intlayer" commands.
// Manages Intlayer dictionaries and configuration via the Command Line Interface. Use when the user asks to "audit translations", "build dictionaries", "sync content", or run "intlayer" commands.
Integrates Intlayer internationalization with Astro applications. Use when the user asks to "setup Astro i18n", use "getIntlayer" in Astro components, or manage server-side content in Astro.
Intlayer Compiler setup and usage. Configures automatic content extraction for your components without the need to define .content files manually.
Configures Intlayer project settings and environment variables. Use when the user asks to "setup intlayer.config", "configure locales", or "customize Intlayer settings".
Define rich content structures using Intlayer content nodes. Use when the user asks to "create translations", "handle pluralization", "use markdown in content", or implement "conditional content".
Integrates Intlayer internationalization with Next.js App Router and Pages Router. Use when the user asks to "setup Next.js i18n", use "useIntlayer" in Server Components, or handle client-side translations in Next.js.
Integrates Intlayer internationalization with Preact applications. Use when the user asks to "setup Preact i18n", create a new translated component, use the "useIntlayer" hook in Preact, or configure providers.
| name | intlayer-cli |
| description | Manages Intlayer dictionaries and configuration via the Command Line Interface. Use when the user asks to "audit translations", "build dictionaries", "sync content", or run "intlayer" commands. |
| metadata | {"author":"Intlayer","url":"https://intlayer.org","license":"Apache-2.0","mcp-server":"@intlayer/mcp","category":"productivity","tags":["i18n"],"documentation":"https://intlayer.org/doc","support":"contact@intlayer.org"} |
The intlayer-cli package provides a set of commands to manage Intlayer dictionaries and configuration.
npm install intlayer-cli
| Command | Description |
|---|---|
npx intlayer build | Builds the Intlayer dictionaries. |
npx intlayer audit | Audits the dictionaries for missing translations. |
npx intlayer live-sync | Synchronizes dictionaries in real-time. |
npx intlayer pull | Pulls dictionaries from a remote source (e.g., Intlayer CMS). |
npx intlayer push | Pushes dictionaries to a remote source. |
npx intlayer test | Runs tests on dictionaries. |
npx intlayer extract | Extract content from component to create dictionary. |