What problem does it solve?
This Skill addresses the complexity of building multi-language Astro sites for lead-generation by providing a cohesive set of internationalization patterns and best practices that ensure consistent routing, translation management, and accessibility across markets.
Core Features & Use Cases
- URL-based localization: Supports language-prefixed URLs like /en/, /de/, /fr/ for SEO and user clarity.
- Translation workflow: Centralized translation files with a t() function for safe, fallback-capable lookups.
- RTL & accessibility: RTL support with logical CSS properties and accessible language switches.
Quick Start
Deploy with a minimal setup: define languages, add translation JSONs, implement a [lang]-route structure, and wire a layout with hreflang. Then load the i18n utilities in pages and components.