An astro integration of i18next + some utility components to help you translate your astro websites!
The astro-i18next is a beta integration of i18next into Astro, providing utility components to help translate Astro websites. The goal of the project is to enhance the developer experience in translating Astro pages, with the possibility of breaking changes before reaching v1.0.0. Users are encouraged to provide feedback during this beta phase to improve the tool.
npm install astro-i18next
// astro.config.mjs
import 'astro-i18next';
t
function or the provided Trans component.generate
for translating routes and generating localized pages.The astro-i18next integration offers Astro developers the tools needed to efficiently translate their websites. With support for SSG, SSR, utility components, and functions, users can streamline the translation process and enhance the internationalization of their Astro projects. Feedback during the beta phase is welcomed to ensure a robust v1.0.0 release.