with one click
commandkit-i18n
// Implement localization with @commandkit/i18n and i18next. Use for locale resources, command metadata translations, and locale-aware runtime helpers.
// Implement localization with @commandkit/i18n and i18next. Use for locale resources, command metadata translations, and locale-aware runtime helpers.
Build and maintain Discord bots with CommandKit core conventions. Use when implementing command/event architecture (including hierarchical subcommands), middleware chains, JSX components, and commandkit.config setup for plugin-based features.
Build AI-powered command flows with @commandkit/ai. Use for model selection, message filtering, schema-backed AI commands, and safe tool-calling behavior.
Instrument CommandKit bots with @commandkit/analytics. Use for provider setup, event taxonomy, runtime telemetry controls, and privacy-aware analytics design.
Implement deterministic caching with @commandkit/cache. Use for 'use cache' directives, cacheTag/cacheLife strategy, revalidateTag invalidation, and provider setup for memory or Redis deployments.
Configure and use @commandkit/devtools for local debugging, command inspection, and runtime diagnostics during development.
Migrate existing projects off @commandkit/legacy to modern CommandKit patterns. This skill is migration-only and must not promote new legacy adoption.
| name | commandkit-i18n |
| version | 1.2.0 |
| author | neplextech |
| emoji | 🌍 |
| tags | ["commandkit","i18n","localization","i18next"] |
| description | Implement localization with @commandkit/i18n and i18next. Use for locale resources, command metadata translations, and locale-aware runtime helpers. |
Use for multilingual command metadata and translated runtime responses.
commandkit.config.tssrc/app/locales/<locale>/*.jsonsrc/app/commands/** and
src/app/events/**i18n() plugin.$command keys for metadata localization.ctx.locale() in commands and locale() in events/utilities.| Name | Description |
|---|---|
references/00-filesystem-structure.md | Locale folder layout and naming expectations. |
references/01-plugin-setup.md | Plugin setup baseline. |
references/02-locales-structure.md | Locale file placement and organization details. |
references/03-command-metadata-localization.md | $command and context menu metadata localization format. |
references/04-locale-helpers.md | Runtime locale helper usage in commands/events. |
| Name | Description |
|---|---|
tools/generate-locale-file.mjs | Prints a locale JSON starter template for a command and locale code. |