--- import MainLayout from "../../layouts/MainLayout.astro"; import Hero from "../../components/Hero.astro"; import About from "../../components/About.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 } }; }); } ---