2022-12-02 17:29:11 +01:00
|
|
|
import { defineAstroI18nConfig } from "astro-i18n";
|
|
|
|
|
|
|
|
export default defineAstroI18nConfig({
|
|
|
|
defaultLangCode: "fr",
|
|
|
|
supportedLangCodes: ["en"],
|
|
|
|
showDefaultLangCode: false,
|
|
|
|
translations: {
|
|
|
|
fr: "src/i18n/fr.json",
|
|
|
|
en: "src/i18n/en.json",
|
|
|
|
},
|
2022-12-26 23:15:27 +01:00
|
|
|
routeTranslations: {
|
|
|
|
en: {
|
|
|
|
"sci-hub-blocage": "sci-hub-unblock",
|
2022-12-28 10:36:15 +01:00
|
|
|
fragments: "snippets",
|
2023-02-03 10:37:28 +01:00
|
|
|
"plan-du-site": "sitemap",
|
2022-12-26 23:15:27 +01:00
|
|
|
},
|
|
|
|
},
|
2022-12-02 17:29:11 +01:00
|
|
|
});
|