mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-19 04:14:46 +08:00
feat: add i18n support and add Chinese (#372)
* feat: add i18n support and add Chinese * fix: resolve conflicts * Update en.json with cancle settings * Update zh.json with settngs cancle --------- Co-authored-by: johnny0120 <15564476+johnny0120@users.noreply.github.com> Co-authored-by: Willem Jiang <willem.jiang@gmail.com> Co-authored-by: Willem Jiang <143703838+willem-bd@users.noreply.github.com>
This commit is contained in:
@@ -6,6 +6,9 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import "./src/env.js";
|
||||
import createNextIntlPlugin from 'next-intl/plugin';
|
||||
|
||||
const withNextIntl = createNextIntlPlugin('./src/i18n.ts');
|
||||
|
||||
/** @type {import("next").NextConfig} */
|
||||
|
||||
@@ -39,4 +42,4 @@ const config = {
|
||||
output: "standalone",
|
||||
};
|
||||
|
||||
export default config;
|
||||
export default withNextIntl(config);
|
||||
|
||||
Reference in New Issue
Block a user