Migrate Site to German as Default Locale
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
import { defineAstroI18nConfig } from "astro-i18n";
|
||||
|
||||
export default defineAstroI18nConfig({
|
||||
primaryLocale: "en",
|
||||
secondaryLocales: ["de"],
|
||||
fallbackLocale: "en",
|
||||
primaryLocale: "de",
|
||||
secondaryLocales: ["en"],
|
||||
fallbackLocale: "de",
|
||||
trailingSlash: "never",
|
||||
run: "client+server",
|
||||
showPrimaryLocale: false,
|
||||
@ -11,18 +11,18 @@ export default defineAstroI18nConfig({
|
||||
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"
|
||||
}
|
||||
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",
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user