Website/astro-i18n.config.ts

26 Zeilen
596 B
TypeScript

2023-10-12 21:02:57 +02:00
import { defineAstroI18nConfig } from "astro-i18n"
export default defineAstroI18nConfig({
2023-11-28 12:00:06 +01:00
primaryLocale: "en",
secondaryLocales: ["de"],
fallbackLocale: "en",
trailingSlash: "never",
run: "client+server",
showPrimaryLocale: false,
translationLoadingRules: [],
translationDirectory: {},
translations: {},
2023-10-12 21:02:57 +02:00
routes: {
de: {
about: "ueber-uns",
2023-11-03 20:31:27 +01:00
join: "jetzt-spielen",
imprint: "impressum",
"code-of-conduct": "verhaltensrichtlinien",
2023-11-12 22:43:42 +01:00
rules: "regeln",
2023-11-28 12:00:06 +01:00
ranked: "rangliste",
2023-12-03 19:31:29 +01:00
faq: "haeufige-fragen",
stats: "statistiken",
announcements: "ankuendigungen",
2023-10-12 21:02:57 +02:00
}
2023-11-28 12:00:06 +01:00
},
2023-10-12 21:02:57 +02:00
})