From 8673e4615a7d375f92511eec1555370276f230ff Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Mon, 14 Apr 2025 21:49:16 +0800 Subject: [PATCH] feat(i18n): integrate next-intl plugin for internationalization --- next.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index f5ab8b0..f3b403a 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,8 +1,10 @@ import type { NextConfig } from "next"; +import createNextIntlPlugin from 'next-intl/plugin'; const nextConfig: NextConfig = { output: "standalone", serverExternalPackages: ["dockerode"], }; -export default nextConfig; +const withNextIntl = createNextIntlPlugin(); +export default withNextIntl(nextConfig);