first commit

This commit is contained in:
2025-11-26 07:49:54 +00:00
commit d8685ccf10
468 changed files with 41346 additions and 0 deletions

21
plugins/i18n.ts Executable file
View File

@@ -0,0 +1,21 @@
import { createI18n } from "vue-i18n";
import { defineNuxtPlugin } from "#app";
const messages = {
en: {
welcome: "Welcome",
// Add your translations here
},
// Add other languages here
};
export default defineNuxtPlugin((nuxtApp) => {
const i18n = createI18n({
legacy: false,
locale: "en",
fallbackLocale: "en",
messages,
});
nuxtApp.vueApp.use(i18n);
});