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 <dixsie@ibm.com>
Change-Id: Ifce9f5e54d96f8b2a13239ad6178892f99fc4537
diff --git a/src/main.js b/src/main.js
index d80d201..7216751 100644
--- a/src/main.js
+++ b/src/main.js
@@ -25,6 +25,7 @@
ToastPlugin
} from 'bootstrap-vue';
import Vuelidate from 'vuelidate';
+import i18n from './i18n';
Vue.filter('date', dateFilter);
@@ -59,5 +60,6 @@
new Vue({
router,
store,
+ i18n,
render: h => h(App)
}).$mount('#app');