diff options
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -131,7 +131,8 @@ if (config.csp.enable) { i18n.configure({ locales: ['en', 'zh', 'zh-CN', 'zh-TW', 'fr', 'de', 'ja', 'es', 'ca', 'el', 'pt', 'it', 'tr', 'ru', 'nl', 'hr', 'pl', 'uk', 'hi', 'sv', 'eo', 'da', 'ko'], cookie: 'locale', - directory: path.join(__dirname, '/locales') + directory: path.join(__dirname, '/locales'), + updateFiles: config.updateI18nFiles }) app.use(cookieParser()) |