Updates and more

This commit is contained in:
2023-11-03 20:31:27 +01:00
parent b5a54d087b
commit e97e86f9ac
22 changed files with 363 additions and 80 deletions

View File

@ -5,17 +5,17 @@ export default defineAstroI18nConfig({
secondaryLocales: ["de"], // other supported locales
fallbackLocale: "en", // fallback locale (on missing translation)
trailingSlash: "never", // "never" or "always"
run: "server", //"client+server" or "server"
run: "client+server", //"client+server" or "server"
showPrimaryLocale: false, // "/en/about" vs "/about"
translationLoadingRules: [], // per page group loading
translationDirectory: {
i18n: "i18n",
}, // translation directory names
translationDirectory: {}, // translation directory names
translations: {}, // { [translation_group1]: { [locale1]: {}, ... } }
routes: {
de: {
about: "ueber-uns",
join: "jetzt-spielen"
join: "jetzt-spielen",
imprint: "impressum",
"code-of-conduct": "verhaltensrichtlinien",
}
}, // { [secondary_locale1]: { about: "about-translated", ... } }
})