feat: i18n locales support

This commit is contained in:
2026-04-12 22:51:11 +02:00
parent f614157259
commit 0a88d958da
12 changed files with 162 additions and 28 deletions
+20
View File
@@ -0,0 +1,20 @@
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;