-
-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathnext-i18next.config.js
More file actions
44 lines (44 loc) · 682 Bytes
/
Copy pathnext-i18next.config.js
File metadata and controls
44 lines (44 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = {
i18n: {
defaultLocale: "en",
locales: [
"en",
"hu",
"fr",
"de",
"it",
"ja",
"lt",
"zh",
"ko",
"pl",
"pt",
"ro",
"ru",
"uk",
"es",
"nl",
"sk",
"hr",
],
},
localePath: typeof window === "undefined" ? "./public/locales" : "/locales",
debug: false,
reloadOnPrerender: process.env.NODE_ENV === "development",
defaultNS: "common",
ns: [
"common",
"help",
"settings",
"chat",
"agent",
"errors",
"languages",
"drawer",
"indexPage",
],
react: {
useSuspense: false,
},
saveMissing: true,
};