-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintlayer.config.ts
More file actions
48 lines (43 loc) · 919 Bytes
/
intlayer.config.ts
File metadata and controls
48 lines (43 loc) · 919 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
45
46
47
48
import { Locales, type IntlayerConfig, type Locale } from "intlayer";
export const locales: Locale[] = [
Locales.ENGLISH,
Locales.RUSSIAN,
Locales.JAPANESE,
Locales.FRENCH,
Locales.KOREAN,
Locales.CHINESE,
Locales.SPANISH,
Locales.GERMAN,
Locales.ARABIC,
Locales.ITALIAN,
Locales.ENGLISH_UNITED_KINGDOM,
Locales.PORTUGUESE,
Locales.HINDI,
Locales.TURKISH,
Locales.POLISH,
Locales.INDONESIAN,
Locales.VIETNAMESE,
Locales.UKRAINIAN,
];
export const defaultLocale = Locales.ENGLISH;
const config: IntlayerConfig = {
internationalization: {
locales,
defaultLocale,
strictMode: 'strict',
},
content: {
contentDir: ["./src", "@intlayer/design-system"],
codeDir: ["src", "@intlayer/design-system"],
},
dictionary:{
importMode:'dynamic'
},
routing: {
mode: "prefix-no-default",
},
log:{
mode:'verbose'
}
};
export default config;