mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: wrap up translation logic
This commit is contained in:
@@ -44,7 +44,7 @@ import idPlugin from './utils/schema-plugin/id.plugin';
|
||||
import { WebsocketModule } from './websocket/websocket.module';
|
||||
|
||||
const i18nOptions: I18nOptions = {
|
||||
fallbackLanguage: config.chatbot.lang.default,
|
||||
fallbackLanguage: 'en',
|
||||
loaderOptions: {
|
||||
path: path.join(__dirname, '/config/i18n/'),
|
||||
watch: true,
|
||||
|
||||
Reference in New Issue
Block a user