From 93e6e2633a7af7953762720b2a8db88f72183751 Mon Sep 17 00:00:00 2001 From: codenapol Date: Wed, 3 Jun 2026 20:46:45 +0200 Subject: [PATCH] feat: add French (fr) i18n support for website Add website/i18n/fr.yaml with French translations of all Hextra theme UI strings (TOC, search, footer, feedback, etc.) and update hugo.yaml to enable multilingual support so the translations are actually served at /fr/. As a project developed by FCSC/ANSSI, a French institution, making the website UI available in French is a natural fit for the project's primary audience. --- website/hugo.yaml | 9 +++++++++ website/i18n/fr.yaml | 14 ++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 website/i18n/fr.yaml diff --git a/website/hugo.yaml b/website/hugo.yaml index 6a28a9b..740aa86 100644 --- a/website/hugo.yaml +++ b/website/hugo.yaml @@ -2,6 +2,15 @@ baseURL: https://couic.net languageCode: en-us title: COUIC +defaultContentLanguage: en +languages: + en: + languageName: English + weight: 1 + fr: + languageName: Français + weight: 2 + # import hextra as module module: imports: diff --git a/website/i18n/fr.yaml b/website/i18n/fr.yaml new file mode 100644 index 0000000..c03604e --- /dev/null +++ b/website/i18n/fr.yaml @@ -0,0 +1,14 @@ +copyright: "© 2026 Couic - Pare-feu eBPF ultra-rapide ! - Mentions légales" + +toc.title: "Sur cette page" +search.placeholder: "Rechercher..." +edit.page: "Modifier cette page" +report.issue: "Signaler un problème" +breadcrumb.home: "Accueil" +feedback.helpful: "Cette page vous a-t-elle été utile ?" +feedback.yes: "Oui" +feedback.no: "Non" +footer.powered_by: "Propulsé par" +language.switch: "Langue" +reading_time: "min de lecture" +word_count: "mots"