intlayer-astro ยท diff
git:20260218.9e3308f to git:20260226.28174a9
4 added, 1 removed. Audit A to A.
---
name: intlayer-astro
description: 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.
metadata:
author: Intlayer
url: https://intlayer.org
license: Apache-2.0
mcp-server: "@intlayer/mcp"
category: productivity
tags: [i18n]
documentation: https://intlayer.org/doc
support: contact@intlayer.org
---
# Intlayer Astro Usage
## Setup
- [Astro](references/environment_astro.md)
## Server-side (Astro Components)
```astro
---
import { getIntlayer } from "astro-intlayer";
const content = await getIntlayer("my-dictionary-key");
---
<h1>{content.title}</h1>
```
- [Astro Documentation](https://intlayer.org/doc/packages/astro-intlayer.md)
+ [Astro Documentation](references/astro.md)
## References
+
+ - [Website](https://intlayer.org)
+ - [Doc](https://intlayer.org/doc/concept/cli)
- [Astro](references/environment_astro.md)
- [Intlayer Exports](references/packages_intlayer_exports.md)
- [Astro Intlayer Exports](references/packages_astro-intlayer_exports.md)