--- import MainLayout from "../../../layouts/MainLayout.astro"; //@ts-ignore import { dictionary } from "../../../i18n/dictionary"; const { title, description } = dictionary[Astro.currentLocale]; export async function getStaticPaths() { return ["en", "fr", "cs", "de"].map((lang) => { return { params: { lang } }; }); } ---