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
| import customZhCn from './zh-Hans.json'
| import customZhTw from './zh-Hant.json'
| import customEnUs from './en.json'
| import customESes from './es.json'
| // const messages = {
| // 'zh-CN': customZhCn,
| // 'zh-TW': customZhTw,
| // 'en-US': customEnUs,
| // 'es-ES':customESes
| // }
| export default {
| 'zh-Hans': customZhCn,
| 'zh-Hant': customZhTw,
| 'en': customEnUs,
| 'es': customESes,
| }
|
| // const i18n = new VueI18n({
| // locale: 'en-US', // set default locale
| // messages, // set locale messages
| // })
|
| // export const setup = (app) => {
| // // app.use(i18n)
| // }
|
|