Skip to content
This integration is unmaintained due to lack of time. It should mostly work but do not expect fixes or new features.

Installation

Automatic installation

Run the following command in your terminal using your favorite package manager.

Terminal window
pnpm astro add @astrolicious/i18n

This will update your astro.config.mjs with the following content:

astro.config.mjs
1
import { defineConfig } from "astro/config"
2
import i18n from "@astrolicious/i18n"
3
4
export default defineConfig({
5
integrations: [
6
i18n()
7
]
8
})

Manual installation

Install the necessary dependencies:

Terminal window
pnpm add @astrolicious/i18n i18next

Update your astro.config.mjs with the following content:

astro.config.mjs
1
import { defineConfig } from "astro/config"
2
import i18n from "@astrolicious/i18n"
3
4
export default defineConfig({
5
integrations: [
6
i18n()
7
]
8
})