feat(i18n): add zh/en locale switching
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { defineRouting } from "next-intl/routing"
|
||||
import { locales, defaultLocale } from "./config"
|
||||
|
||||
export const routing = defineRouting({
|
||||
locales,
|
||||
defaultLocale,
|
||||
localePrefix: "never",
|
||||
})
|
||||
Reference in New Issue
Block a user