i18n.js 325 B

12345678910111213141516171819202122
  1. import Vue from "vue";
  2. import VueI18n from "./i18nJs.js";
  3. import en from "./en";
  4. import zh_tw from './zh_tw'
  5. import ja from './ja'
  6. import kor from './kor'
  7. Vue.use(VueI18n);
  8. const messages = {
  9. en: en,
  10. zh_tw: zh_tw,
  11. ja: ja,
  12. kor:kor
  13. };
  14. const i18n = new VueI18n({
  15. locale: "zh_tw",
  16. messages
  17. });
  18. export default i18n;