rikunarita-2 commited on
Commit
63efe8f
·
verified ·
1 Parent(s): cd8de0d

Create next-i18next.config.js

Browse files
Files changed (1) hide show
  1. frontend/next-i18next.config.js +7 -0
frontend/next-i18next.config.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ module.exports = {
2
+ i18n: {
3
+ defaultLocale: 'en',
4
+ locales: ['en', 'ja', 'zh'],
5
+ },
6
+ localePath: typeof window === 'undefined' ? require('path').resolve('./public/locales') : '/locales',
7
+ };