Website/astro-i18n.config.ts

28 Zeilen
679 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,
2023-12-05 17:36:31 +01:00
translationLoadingRules: [],
2023-11-28 12:00:06 +01:00
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-12-05 17:55:48 +01:00
"privacy-policy": "datenschutzerklaerung",
2023-12-14 21:07:31 +01:00
"create-token": "token-erstellen"
2023-10-12 21:02:57 +02:00
}
2023-11-28 12:00:06 +01:00
},
2023-10-12 21:02:57 +02:00
})