aymericzip/intlayer-skills / skills/intlayer-config
intlayer-config
VerifiedConfigures Intlayer project settings and environment variables. Use when the user asks to "setup intlayer.config", "configure locales", or "customize Intlayer settings".
Intlayer Configuration
Configure Intlayer project settings and environment variables. Check these files to identify which locales are declared for the application, which helps in defining the appropriate content.
Supported configuration files:
intlayer.config.{ts|js|cjs|mjs|json|json5|jsonc}.intlayerrc
It acts as the central brain for your application's internationalization strategy. It is divided into several specialized sections that control everything from language support to AI-powered translations.
Internationalization
This section defines your language footprint.
- Locales: Define which languages you support (e.g., English, French, Spanish).
- Default Locale: Set the fallback language if a user's preference isn't found.
Routing & middleware
Controls how users navigate between different languages.
AI & Automation
Intlayer integrates with major AI providers (OpenAI, Anthropic, Gemini, etc.) to automate your workflow.
Content & Dictionaries
Manages how and where your translation files are handled.
- Import Mode: Choose between Static (faster performance), Dynamic (lazy loading), or Fetch (live updates from a CMS).
- Auto-Transformation: Automatically convert Markdown or HTML strings into processed components.
Editor & System
Settings for the visual workflow and internal plumbing.
Retrieving configuration into your app
import { defaultLocale, getConfiguration, locales } from "intlayer";
console.log(locales); // ['en', 'fr', ...]
console.log(defaultLocale); // 'en'
// Other sections: internationalization, routing, editor, content, log
const { routing } = getConfiguration();
console.log(routing.mode); // 'prefix-no-default'
References
Concepts
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |