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
+3
View File
@@ -0,0 +1,3 @@
export const locales = ["zh-CN", "en"] as const
export type Locale = (typeof locales)[number]
export const defaultLocale: Locale = "zh-CN"