intlayer-usage

To use Intlayer effectively:

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "intlayer-usage" with this command: npx skills add aymericzip/intlayer/aymericzip-intlayer-intlayer-usage

Intlayer Usage

To use Intlayer effectively:

Retrieve Locales: Check intlayer.config.{ts,js,json,json5,jsonc,cjs,mjs} , .intlayerrc to 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.

  • Intlayer Exports

  • React Intlayer Exports

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

  • Get Started

  • How Intlayer Works

  • Why Intlayer

  • Per-locale File

  • Website

  • Doc

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

intlayer-react

No summary provided by upstream source.

Repository SourceNeeds Review
General

intlayer-config

No summary provided by upstream source.

Repository SourceNeeds Review
General

intlayer-content

No summary provided by upstream source.

Repository SourceNeeds Review