28 Zeilen
829 B
TypeScript
28 Zeilen
829 B
TypeScript
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: {
|
|
"ueber-uns": "about",
|
|
"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",
|
|
},
|
|
},
|
|
}); |