Files
FastGPT/projects/app/next-i18next.config.js
Archer db6fc53840 Publish histories (#1331)
* fix http plugin edge (#95)

* fix http plugin edge

* use getHandleId

* perf: i18n file

* feat: histories list

* perf: request lock

* fix: ts

* move box components

* fix: edit form refresh

---------

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
2024-04-30 12:42:13 +08:00

15 lines
346 B
JavaScript

//next-i18next.config.js
/**
* @type {import('next-i18next').UserConfig}
*/
module.exports = {
i18n: {
defaultLocale: 'zh',
locales: ['en', 'zh'],
localeDetection: false
},
localePath: typeof window === 'undefined' ? require('path').resolve('./i18n') : '/i18n',
reloadOnPrerender: process.env.NODE_ENV === 'development'
};