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

getLocale

Allows you to retrieve the current locale.

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