From 2ef7eea91e62e7f8759464725f6992661cbea7a2 Mon Sep 17 00:00:00 2001 From: Kawahara Shotaro <121674121+k-taro56@users.noreply.github.com> Date: Tue, 20 Aug 2024 13:09:01 +0000 Subject: [PATCH 1/5] chore: Add i18n support for English and Japanese --- docs/next.config.js | 4 ++++ docs/theme.config.tsx | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/next.config.js b/docs/next.config.js index 49a35396d4..c6d2b5fc19 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -177,4 +177,8 @@ export default withNextra({ }, ] }, + i18n: { + locales: ["en", "ja"], + defaultLocale: "en", + }, }) diff --git a/docs/theme.config.tsx b/docs/theme.config.tsx index 1b91aa79ab..97b42fb486 100644 --- a/docs/theme.config.tsx +++ b/docs/theme.config.tsx @@ -184,6 +184,10 @@ const config: DocsThemeConfig = { footer: { component: