21 lines
412 B
JavaScript
21 lines
412 B
JavaScript
import i18next from 'i18next'
|
|
import I18NextVue from 'i18next-vue'
|
|
import en from './locales/en.json'
|
|
import fr from './locales/fr.json'
|
|
import da from './locales/da.json'
|
|
|
|
i18next.init({
|
|
lng: 'en',
|
|
fallbackLng: 'en',
|
|
resources: {
|
|
en: { translation: en },
|
|
fr: { translation: fr },
|
|
da: { translation: da },
|
|
},
|
|
interpolation: {
|
|
escapeValue: false,
|
|
},
|
|
})
|
|
|
|
export { i18next, I18NextVue }
|