Translation

This commit is contained in:
2024-09-09 20:55:09 +02:00
parent 7ebc3c1c77
commit f10c0ef4e9
15 changed files with 226 additions and 60 deletions

View File

@@ -0,0 +1,13 @@
import { createI18n } from "vue-i18n";
import german from './../locales/german.json'
import english from './../locales/english.json'
type MessageSchema = typeof german
export const i18n = createI18n<[MessageSchema], 'de' | 'en'>({
locale: 'de',
messages: {
'de': german,
'en': english
}
})