2023-11-11 15:23:04 +01:00
|
|
|
import { createI18n } from 'vue-i18n'
|
2021-08-04 09:26:49 +02:00
|
|
|
|
2023-11-11 15:23:04 +01:00
|
|
|
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'
|
2021-08-04 09:26:49 +02:00
|
|
|
|
|
|
|
export default createI18n({
|
|
|
|
legacy: false,
|
2021-08-04 13:59:51 +02:00
|
|
|
locale: 'en',
|
|
|
|
fallbackLocale: 'en',
|
|
|
|
globalInjection: true,
|
2023-11-11 15:23:04 +01:00
|
|
|
messages: {
|
|
|
|
de: deMessages,
|
|
|
|
en: enMessages,
|
|
|
|
es: esMessages,
|
|
|
|
fr: frMessages,
|
|
|
|
gl: glMessages,
|
|
|
|
it: itMessages,
|
|
|
|
nb: nbMessages,
|
|
|
|
nl: nlMessages,
|
|
|
|
pl: plMessages,
|
|
|
|
},
|
2021-08-04 09:26:49 +02:00
|
|
|
})
|