Skip to content

@intlayer/skills

Agent skills for the Intlayer internationalization ecosystem

intlayer-astro

41 linesSource

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 Astro Usage

Setup

Server-side (Astro Components)

plaintext
---
import { getIntlayer } from "astro-intlayer";
const content = await getIntlayer("my-dictionary-key");
---
<h1>{content.title}</h1>

Astro Documentation

References