Skip to content

Installation

Install the package

Terminal window
npm install @otrodigital/astro-i18n-next

Peer dependencies

The following packages must be installed in your project:

PackageVersionPurpose
astro>= 5.0.0Astro framework with i18n routing support
i18next>= 23.0.0Translation engine
js-yaml>= 4.0.0YAML frontmatter parsing for multilingual content
marked>= 9.0.0Markdown rendering for content body

Install them all at once:

Terminal window
npm install astro i18next js-yaml marked

Next steps

Head to the Quick Start guide to set up your first multilingual Astro site.