30 lines
721 B
TypeScript
30 lines
721 B
TypeScript
import { createI18n } from 'vue-i18n'
|
|
|
|
import deMessages from '@/locales/de/de'
|
|
import enMessages from '@/locales/en/en'
|
|
import esMessages from '@/locales/es/es'
|
|
import frMessages from '@/locales/fr/fr'
|
|
import glMessages from '@/locales/gl/gl'
|
|
import itMessages from '@/locales/it/it'
|
|
import nbMessages from '@/locales/nb/nb'
|
|
import nlMessages from '@/locales/nl/nl'
|
|
import plMessages from '@/locales/pl/pl'
|
|
|
|
export default createI18n({
|
|
legacy: false,
|
|
locale: 'en',
|
|
fallbackLocale: 'en',
|
|
globalInjection: true,
|
|
messages: {
|
|
de: deMessages,
|
|
en: enMessages,
|
|
es: esMessages,
|
|
fr: frMessages,
|
|
gl: glMessages,
|
|
it: itMessages,
|
|
nb: nbMessages,
|
|
nl: nlMessages,
|
|
pl: plMessages,
|
|
},
|
|
})
|