Documentation
Get Started with astro-intl
A type-safe internationalization library for Astro, inspired by next-intl. No props drilling, dynamic loading, and full TypeScript support.
Installation
Install the package and set up your project in minutes.
Configuration
Configure locales, messages, and middleware options.
Basic Usage
Learn how to use translations, interpolation, and markup.
Routing
Set up localized URLs and route translations.
Auto Redirect
Auto-detect browser language and redirect without blank pages.
Frameworks
Use astro-intl with React, Svelte, and more.
API Reference
Complete API reference for all exported functions and types.
Examples
Real-world examples and common patterns.