intlayer-usage
Originally fromaymericzip/intlayer
SKILL.md
Intlayer Usage
To use Intlayer effectively:
-
Retrieve Locales: Check
intlayer.config.{ts,js,json,json5,jsonc,cjs,mjs},.intlayerrcto see the configured locales. -
Declare Content: We recommend creating one content declaration file per component, located alongside the component file. This keeps translations close to the code.
-
Consume Content: Use the provided hooks and functions to access your content.
Common Packages:
intlayer: Core package for content declaration and utility functions.react-intlayer: React components and hooks (e.g.,useIntlayer).vite-intlayer: Vite plugin for integration.
-
CLI Commands: Useful commands for managing your content:
npx intlayer build: Build the dictionaries from your content declarations.
References
Weekly Installs
7
Repository
aymericzip/intl…r-skillsGitHub Stars
4
First Seen
Feb 18, 2026
Security Audits
Installed on
opencode7
github-copilot7
codex7
kimi-cli7
gemini-cli7
amp7