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

getDefaultLocale

Allows you to retrieve the default locale, specified in the integration configuration.

1
---
2
import { getDefaultLocale } from "i18n:astro"
3
4
const locale = getDefaultLocale()
5
---