Website/astro-i18n.config.ts

19 lines
382 B
TypeScript

import { defineAstroI18nConfig } from "astro-i18n"
export default defineAstroI18nConfig({
primaryLocale: "cs",
secondaryLocales: ["en"],
fallbackLocale: "cs",
trailingSlash: "never",
run: "server",
showPrimaryLocale: false,
translationLoadingRules: [],
translationDirectory: {},
translations: {},
routes: {
"en": {
sluzby: "services",
kontakt: "contact"
}
}
})