starchat-ui / next-i18next.config.js
matthoffner's picture
Duplicate from matthoffner/chatbot
13095e0
raw
history blame
481 Bytes
module.exports = {
i18n: {
defaultLocale: 'en',
locales: [
"bn",
"de",
"en",
"es",
"fr",
"he",
"id",
"it",
"ja",
"ko",
"pl",
"pt",
"ru",
"ro",
"sv",
"te",
"vi",
"zh",
"ar",
"tr",
"ca",
"fi",
],
},
localePath:
typeof window === 'undefined'
? require('path').resolve('./public/locales')
: '/public/locales',
};