重构:将 "lobster" 重命名为 "claw" 并添加国际化支持 (i18n)
This commit is contained in:
7
i18n/routing.ts
Normal file
7
i18n/routing.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { defineRouting } from "next-intl/routing";
|
||||
|
||||
export const routing = defineRouting({
|
||||
locales: ["en", "zh"],
|
||||
defaultLocale: "en",
|
||||
localePrefix: "always",
|
||||
});
|
||||
Reference in New Issue
Block a user