Skip to content

Commit 4fc29c4

Browse files
committed
fix: i18n init props
1 parent 861cf00 commit 4fc29c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/i18n.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import i18next from 'i18next';
22
import Backend from 'i18next-fs-backend';
33

44
i18next.use(Backend).init({
5-
lng: 'fr',
5+
lng: 'en',
66
backend: {
77
/* translation file path */
8-
loadPath: '/../i18n/{{lng}}.json',
8+
loadPath: 'i18n/{{lng}}.json',
99
},
1010
fallbackLng: 'en',
11-
debug: false,
11+
debug: true,
1212
returnNull: false,
1313
}).catch((err) => {
1414
console.error('Error loading language', err);

0 commit comments

Comments
 (0)