import { defineAstroI18nConfig } from "astro-i18n" export default defineAstroI18nConfig({ primaryLocale: "en", secondaryLocales: ["de"], fallbackLocale: "en", trailingSlash: "never", run: "client+server", showPrimaryLocale: false, translationLoadingRules: [ { "routes": ["^/rules.*"], "groups": ["^rules$"] } ], translationDirectory: {}, translations: {}, routes: { de: { about: "ueber-uns", join: "jetzt-spielen", imprint: "impressum", "code-of-conduct": "verhaltensrichtlinien", rules: "regeln", ranked: "rangliste", faq: "haeufige-fragen", stats: "statistiken", announcements: "ankuendigungen", } }, })