Add initial templates for additional languages

Co-Authored-By: Tixx <83774803+WiserTixx@users.noreply.github.com>
This commit is contained in:
Starystars67
2025-12-20 01:20:03 +00:00
parent 3873388b48
commit acc1377bbb
11 changed files with 1438 additions and 264 deletions
+10 -1
View File
@@ -1,7 +1,16 @@
import { nextTick } from 'vue'
import { createI18n } from 'vue-i18n'
export const SUPPORT_LOCALES = ['en']
export const SUPPORT_LOCALES = ['en', 'es', 'fr', 'de', 'it', 'ru']
export const LANGUAGES = {
en: { name: 'English', code: 'en', flag: 'gb' },
es: { name: 'Español', code: 'es', flag: 'es' },
fr: { name: 'Français', code: 'fr', flag: 'fr' },
de: { name: 'Deutsch', code: 'de', flag: 'de' },
it: { name: 'Italiano', code: 'it', flag: 'it' },
ru: { name: 'Русский', code: 'ru', flag: 'ru' },
}
export function setupI18n(options = { locale: 'en' }) {
const i18n = createI18n(options)