import { createI18n } from 'vue-i18n';
import de from './locales/de.json';
import en from './locales/en.json';
import fr from './locales/fr.json';
import es from './locales/es.json';
import it from './locales/it.json';
import ja from './locales/ja.json';
import zh from './locales/zh.json';
import th from './locales/th.json';
import tl from './locales/tl.json';
import ceb from './locales/ceb.json';

const messages = {
  de,
  en,
  fr,
  es,
  it,
  ja,
  zh,
  th,
  tl
  ,ceb
};

const i18n = createI18n({
  legacy: false,
  locale: 'de',
  fallbackLocale: 'de',
  messages,
  allowComposition: true
});

export default i18n;

