Add French support

This commit is contained in:
dohseven 2018-12-21 17:09:58 +01:00
parent ff9c46dac5
commit a1b3470f6b

View File

@ -3,6 +3,7 @@ import VueI18n from 'vue-i18n'
// Import translations // Import translations
import en from './en' import en from './en'
import fr from './fr'
Vue.use(VueI18n) Vue.use(VueI18n)
@ -32,7 +33,8 @@ export function getBrowserLocales () {
} }
const messages = { const messages = {
'en': en 'en': en,
'fr': fr
} }
const locales = getBrowserLocales() const locales = getBrowserLocales()