From cbcd2136cd80395eff898738747c52c4b301fd56 Mon Sep 17 00:00:00 2001 From: Dixsie Wolmers Date: Thu, 30 Jan 2020 20:58:37 -0600 Subject: Set up initial language translation - Add i18n internationalization plugin - Create json files for group 0 English and Spanish - Uses $t method to set up initial translations on login page - Meta title is translated using i18n in App.vue and PageTitle.Vue Signed-off-by: Dixsie Wolmers Change-Id: Ifce9f5e54d96f8b2a13239ad6178892f99fc4537 --- src/main.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.js') diff --git a/src/main.js b/src/main.js index d80d2019..72167510 100644 --- a/src/main.js +++ b/src/main.js @@ -25,6 +25,7 @@ import { ToastPlugin } from 'bootstrap-vue'; import Vuelidate from 'vuelidate'; +import i18n from './i18n'; Vue.filter('date', dateFilter); @@ -59,5 +60,6 @@ Vue.use(Vuelidate); new Vue({ router, store, + i18n, render: h => h(App) }).$mount('#app'); -- cgit v1.2.3