Scheiß Line Separator

This commit is contained in:
2023-11-28 12:00:06 +01:00
parent 3996376381
commit 2abe554059
16 changed files with 1113 additions and 466 deletions

View File

@ -1,15 +1,15 @@
import { defineAstroI18nConfig } from "astro-i18n"
export default defineAstroI18nConfig({
primaryLocale: "en", // default app locale
secondaryLocales: ["de"], // other supported locales
fallbackLocale: "en", // fallback locale (on missing translation)
trailingSlash: "never", // "never" or "always"
run: "client+server", //"client+server" or "server"
showPrimaryLocale: false, // "/en/about" vs "/about"
translationLoadingRules: [], // per page group loading
translationDirectory: {}, // translation directory names
translations: {}, // { [translation_group1]: { [locale1]: {}, ... } }
primaryLocale: "en",
secondaryLocales: ["de"],
fallbackLocale: "en",
trailingSlash: "never",
run: "client+server",
showPrimaryLocale: false,
translationLoadingRules: [],
translationDirectory: {},
translations: {},
routes: {
de: {
about: "ueber-uns",
@ -17,6 +17,7 @@ export default defineAstroI18nConfig({
imprint: "impressum",
"code-of-conduct": "verhaltensrichtlinien",
rules: "regeln",
ranked: "rangliste",
}
}, // { [secondary_locale1]: { about: "about-translated", ... } }
},
})