enable Turkish translation

This commit is contained in:
myl7
2022-07-15 18:10:33 +08:00
parent 447388817a
commit 9b53e6dc01
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -23,6 +23,8 @@ const localeText = (locale: string): string => {
return '🇨🇳 简体中文'
case 'hi':
return '🇮🇳 हिन्दी'
case 'tr-TR':
return '🇹🇷 Türkçe'
default:
return '🇬🇧 English'
}
+1 -1
View File
@@ -3,7 +3,7 @@ const path = require('path')
module.exports = {
i18n: {
defaultLocale: 'en',
locales: ['en', 'zh-CN', 'hi']
locales: ['en', 'zh-CN', 'hi', 'tr-TR']
},
localePath: path.resolve('public/locales'),
reloadOnPrerender: process.env.NODE_ENV === 'development',