filebrowser/assets/src/i18n/index.js
Equim 7526f72379 Add Japanese localization, QC Chinese. (#200)
* i18n: add ja.yaml

* i18n: polish zh-cn.yaml, apply ja.yaml to i18n

* i18n: use the languages themselves to describe languges
2017-08-12 10:17:34 +01:00

22 lines
354 B
JavaScript

import Vue from 'vue'
import VueI18n from 'vue-i18n'
import en from './en.yaml'
import pt from './pt.yaml'
import ja from './ja.yaml'
import zhCN from './zh-cn.yaml'
Vue.use(VueI18n)
const i18n = new VueI18n({
locale: 'en',
fallbackLocale: 'en',
messages: {
'en': en,
'pt': pt,
'ja': ja,
'zh-cn': zhCN
}
})
export default i18n