-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi18n.config.ts
35 lines (32 loc) · 934 Bytes
/
i18n.config.ts
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
export default defineI18nConfig(async () => {
const uz = await import('./public/lang/uz.json');
const serviceUz = await import('./public/lang/service/uz.json');
const investorUz = await import('./public/lang/investor/uz.json');
const en = await import('./public/lang/en.json');
const serviceEn = await import('./public/lang/service/en.json');
const investorEn = await import('./public/lang/investor/en.json');
const ru = await import('./public/lang/ru.json');
const serviceRu = await import('./public/lang/service/ru.json');
const investorRu = await import('./public/lang/investor/ru.json');
return {
legacy: false,
locale: 'uz',
messages: {
uz: {
...uz,
...serviceUz,
...investorUz,
},
en: {
...en,
...serviceEn,
...investorEn,
},
ru: {
...ru,
...serviceRu,
...investorRu,
}
}
};
});