2
0

🌐 Introduce i18n

Only translate dashboard page for now

Closes #322
This commit is contained in:
Baptiste Arnaud
2023-03-11 11:05:07 +01:00
parent 8df830721c
commit 138f3f8b07
24 changed files with 237 additions and 183 deletions

View File

@@ -7,6 +7,10 @@ const withTM = require('next-transpile-modules')(['utils', 'models', 'emails'])
const nextConfig = withTM({
reactStrictMode: true,
output: 'standalone',
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr', 'pr'],
},
experimental: {
outputFileTracingRoot: path.join(__dirname, '../../'),
},