Skip to content

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
---