-
Notifications
You must be signed in to change notification settings - Fork 58
/
nuxt-i18n.config.js
87 lines (87 loc) · 1.42 KB
/
nuxt-i18n.config.js
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
export default {
locales: [
{
code: 'en',
iso: 'en',
name: 'English',
file: 'en.json'
},
{
code: 'es',
iso: 'es',
name: 'Español',
file: 'es.json'
},
{
code: 'hi',
iso: 'hi',
name: 'हिंदी',
file: 'hi.json'
},
{
code: 'ja',
iso: 'ja',
name: '日本語',
file: 'ja.json'
},
{
code: 'ko',
iso: 'ko',
name: '한국어',
file: 'ko.json'
},
{
code: 'my',
iso: 'my',
name: 'မြန်မာ',
file: 'my.json'
},
{
code: 'ne',
iso: 'ne',
name: 'नेपाली',
file: 'ne.json'
},
{
code: 'pt',
iso: 'pt',
name: 'português',
file: 'pt.json'
},
{
code: 'si',
iso: 'si',
name: 'සිංහල',
file: 'si.json'
},
{
code: 'th',
iso: 'th',
name: 'แบบไทย',
file: 'th.json'
},
{
code: 'tw',
iso: 'tw',
name: '正體中文 (繁體)',
file: 'tw.json'
},
{
code: 'vn',
iso: 'vn',
name: 'Tiếng Việt',
file: 'vn.json'
},
{
code: 'zh',
iso: 'zh',
name: '中文(简体)',
file: 'zh.json'
}
],
strategy: 'prefix_except_default',
defaultLocale: 'ja',
lazy: true,
loadLanguagesAsync: true,
langDir: 'locales/'
}