mirror of
https://github.com/Spythere/pragotron-td2.git
synced 2026-05-03 05:28:14 +00:00
21 lines
330 B
TypeScript
21 lines
330 B
TypeScript
import enLang from './locales/en.json';
|
|
import plLang from './locales/pl.json';
|
|
|
|
import { createI18n } from 'vue-i18n';
|
|
|
|
const i18n = createI18n({
|
|
locale: 'pl',
|
|
legacy: false,
|
|
warnHtmlMessage: false,
|
|
fallbackLocale: 'pl',
|
|
|
|
messages: {
|
|
en: enLang,
|
|
pl: plLang
|
|
},
|
|
|
|
enableLegacy: false
|
|
});
|
|
|
|
export default i18n;
|