2022-12-02 16:29:11 +00:00
|
|
|
import { defineAstroI18nConfig } from "astro-i18n";
|
|
|
|
|
|
|
|
export default defineAstroI18nConfig({
|
|
|
|
defaultLangCode: "fr",
|
|
|
|
supportedLangCodes: ["en"],
|
|
|
|
showDefaultLangCode: false,
|
2023-05-17 15:55:47 +00:00
|
|
|
trailingSlash: "never",
|
2022-12-02 16:29:11 +00:00
|
|
|
translations: {
|
|
|
|
fr: "src/i18n/fr.json",
|
|
|
|
en: "src/i18n/en.json",
|
|
|
|
},
|
2022-12-26 22:15:27 +00:00
|
|
|
routeTranslations: {
|
|
|
|
en: {
|
|
|
|
"sci-hub-blocage": "sci-hub-unblock",
|
2022-12-28 09:36:15 +00:00
|
|
|
fragments: "snippets",
|
2023-02-03 09:37:28 +00:00
|
|
|
"plan-du-site": "sitemap",
|
2023-04-19 16:24:40 +00:00
|
|
|
references: "work",
|
2022-12-26 22:15:27 +00:00
|
|
|
},
|
|
|
|
},
|
2022-12-02 16:29:11 +00:00
|
|
|
});
|