Files
chatbot-ui/next-i18next.config.js
T
Mr 93112a8211 Add Romanian translation (#468)
* Create Romanian chat.json

I have created Romanian translation of the chat.json.

* Add Romanian translation

I have created Romanian translations.

* Update next-i18next.config.js

Added ro locale

---------

Co-authored-by: Mckay Wrigley <mckaywrigley@gmail.com>
2023-04-10 21:37:17 -06:00

30 lines
433 B
JavaScript

module.exports = {
i18n: {
defaultLocale: 'en',
locales: [
"bn",
"de",
"en",
"es",
"fr",
"he",
"id",
"it",
"ja",
"ko",
"pt",
"ru",
"ro",
"sv",
"te",
"vi",
"zh",
"ar",
],
},
localePath:
typeof window === 'undefined'
? require('path').resolve('./public/locales')
: '/public/locales',
};