import { defineAstroI18nConfig } from "astro-i18n";

export default defineAstroI18nConfig({
    primaryLocale: "de",
    secondaryLocales: ["en"],
    fallbackLocale: "de",
    trailingSlash: "never",
    run: "client+server",
    showPrimaryLocale: false,
    translationLoadingRules: [],
    translationDirectory: {},
    translations: {},
    routes: {
        en: {
            "jetzt-spielen": "join",
            impressum: "imprint",
            verhaltensrichtlinien: "code-of-conduct",
            regeln: "rules",
            rangliste: "ranked",
            "haeufige-fragen": "faq",
            statistiken: "stats",
            ankuendigungen: "announcements",
            datenschutzerklaerung: "privacy-policy",
            "passwort-setzen": "set-password",
        },
    },
});