Hello!
I am currently building an Astro website for the first time using astro-i18next, and here is my astro-i18next.config.mjs:
/** @type {import('astro-i18next').AstroI18nextConfig} */
export default {
defaultLocale: "en",
locales: ["en", "he", "bg", "es"],
};
My problem is that pages in the default language (English) are at /, but I want them to be at /en/. How do I make it so?
I want pages in / to automatically redirect to the correct languages based on cookies, then locale, then fall back to the default locale.