feat(i18n): integrate next-intl plugin for internationalization

This commit is contained in:
cfngc4594 2025-04-14 21:49:16 +08:00
parent e7e8b5da8b
commit 8673e4615a

View File

@ -1,8 +1,10 @@
import type { NextConfig } from "next"; import type { NextConfig } from "next";
import createNextIntlPlugin from 'next-intl/plugin';
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
output: "standalone", output: "standalone",
serverExternalPackages: ["dockerode"], serverExternalPackages: ["dockerode"],
}; };
export default nextConfig; const withNextIntl = createNextIntlPlugin();
export default withNextIntl(nextConfig);