Installation
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Install the package
npm install @otrodigital/astro-i18n-nextPeer dependencies
The following packages must be installed in your project:
| Package | Version | Required | Purpose |
|---|---|---|---|
astro | >= 5.0.0 | Yes | Astro framework with i18n routing support |
i18next | >= 23.0.0 | Yes | Translation engine |
js-yaml | >= 4.0.0 | Yes | YAML frontmatter parsing for multilingual content |
marked | >= 9.0.0 | Optional | Markdown rendering for content body |
Install the required dependencies:
npm install astro i18next js-yamlIf you plan to use the multilingual content loader (createMultilingualLoader), also install marked:
npm install markedNext steps
Head to the Quick Start guide to set up your first multilingual Astro site.