feat(i18n): add zh/en locale switching

This commit is contained in:
Leon-in
2026-04-29 10:36:24 +08:00
parent 437dc976fb
commit 3213f00b7b
11 changed files with 915 additions and 33 deletions
+8
View File
@@ -0,0 +1,8 @@
import { defineRouting } from "next-intl/routing"
import { locales, defaultLocale } from "./config"
export const routing = defineRouting({
locales,
defaultLocale,
localePrefix: "never",
})