From 47b766d4df369f45fdc4f3fecab31096e0cfe97a Mon Sep 17 00:00:00 2001 From: zhengqi zhang <770166635@qq.com> Date: Mon, 11 Sep 2023 18:45:27 +0800 Subject: [PATCH] fix not translate in React Components inside Astro --- astro-i18next.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/astro-i18next.config.ts b/astro-i18next.config.ts index 539545585..d191ee33b 100644 --- a/astro-i18next.config.ts +++ b/astro-i18next.config.ts @@ -3,4 +3,5 @@ export default { defaultLocale: "en", showDefaultLocale: true, locales: ["en", "zh"], + load: ["server", "client"], }