We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66eed1 commit e94f368Copy full SHA for e94f368
src/node/i18n/index.ts
@@ -1,8 +1,8 @@
1
-import i18next from "i18next"
+import i18next, { init } from "i18next"
2
import * as en from "./locales/en.json"
3
import * as zhCn from "./locales/zh-cn.json"
4
5
-i18next.init({
+init({
6
lng: "en",
7
fallbackLng: "en", // language to use if translations in user language are not available.
8
returnNull: false,
0 commit comments