chore: added i18n

This commit is contained in:
2025-07-01 16:15:50 +02:00
parent c5221e337b
commit 519665697b
6 changed files with 46 additions and 23 deletions
+19
View File
@@ -0,0 +1,19 @@
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;