Website/astro-i18n.config.ts
2023-12-19 19:22:19 +01:00

28 Zeilen
679 B
TypeScript

import { defineAstroI18nConfig } from "astro-i18n"
export default defineAstroI18nConfig({
primaryLocale: "en",
secondaryLocales: ["de"],
fallbackLocale: "en",
trailingSlash: "never",
run: "client+server",
showPrimaryLocale: false,
translationLoadingRules: [],
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",
"privacy-policy": "datenschutzerklaerung",
"set-password": "passwort-setzen"
}
},
})