Merge branch 'main' into translate

This commit is contained in:
myl7
2022-07-15 18:15:20 +08:00
committed by GitHub
11 changed files with 262 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ const path = require('path')
module.exports = {
i18n: {
defaultLocale: 'en',
locales: ['en', 'zh-CN', 'zh-TW']
locales: ['en', 'zh-CN', 'hi', 'tr-TR', 'zh-TW']
},
localePath: path.resolve('public/locales'),
reloadOnPrerender: process.env.NODE_ENV === 'development',