--- import { getLangFromUrl, getTranslations, type Lang } from "@/i18n"; const lang = getLangFromUrl(Astro.url); const t = getTranslations(lang); ---