From fac33f23b8a33c894ccd0a33c0fb20e10e36f1ba Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 16 Sep 2025 18:38:00 -0400 Subject: [PATCH] add translation support --- astro.config.ts | 23 +++++++++++++++++++++++ src/content/docs/fr-fr/Services/.gitkeep | 0 2 files changed, 23 insertions(+) create mode 100644 src/content/docs/fr-fr/Services/.gitkeep diff --git a/astro.config.ts b/astro.config.ts index 290b14d..ab6b00b 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -25,6 +25,29 @@ export default defineConfig({ href: "https://wetdry.world/@QuadRadical", }, ], + + defaultLocale: "root", + locales: { + root: { + label: "English", + lang: "en", + }, + + "fr-fr": { + label: "Français", + lang: "fr-FR", + }, + + "uk-ua": { + label: "Українська", + lang: "uk-UA", + }, + + "ru-ru": { + label: "Русский", + lang: "ru-RU", + }, + }, }), ], image: { service: passthroughImageService() }, diff --git a/src/content/docs/fr-fr/Services/.gitkeep b/src/content/docs/fr-fr/Services/.gitkeep new file mode 100644 index 0000000..e69de29