forked from rohitkumbhar/surmai
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathi18next-scanner.config.json
More file actions
58 lines (58 loc) · 1.05 KB
/
Copy pathi18next-scanner.config.json
File metadata and controls
58 lines (58 loc) · 1.05 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"input": [
"src/**/*.{js,jsx,ts,tsx}"
],
"output": "./",
"options": {
"debug": true,
"sort": true,
"attr": {
"list": [
"data-i18n"
],
"extensions": [
".html",
".htm"
]
},
"func": {
"list": [
"t",
"i18next.t",
"i18n.t"
],
"extensions": [
".ts",
".tsx",
".js",
".jsx"
]
},
"trans": {
"component": "Trans",
"i18nKey": "i18nKey",
"defaultsKey": "defaults",
"extensions": [],
"fallbackKey": false
},
"lngs": [
"en-US"
],
"defaultLng": "en-US",
"defaultValue": "",
"resource": {
"loadPath": "./public/locales/{{lng}}/translation.json",
"savePath": "./public/locales/{{lng}}/translation.json",
"jsonIndent": 2
},
"nsSeparator": ":",
"keySeparator": ".",
"pluralSeparator": "_",
"contextSeparator": "_",
"contextDefaultValues": [],
"interpolation": {
"prefix": "{{",
"suffix": "}}"
}
}
}