From 58540763d20e187fe8de654e6344451a98787d99 Mon Sep 17 00:00:00 2001 From: Starystars67 Date: Mon, 13 Apr 2026 11:52:07 +0100 Subject: [PATCH] Add i18n support for zh --- src/i18n.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/i18n.js b/src/i18n.js index d309028..4132086 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -1,7 +1,7 @@ import { nextTick } from 'vue' import { createI18n } from 'vue-i18n' -export const SUPPORT_LOCALES = ['en', 'es', 'fr', 'de', 'it', 'ru'] +export const SUPPORT_LOCALES = ['en', 'es', 'fr', 'de', 'it', 'ru', 'zh'] export const LANGUAGES = { en: { name: 'English', code: 'en', flag: 'gb' }, @@ -10,6 +10,7 @@ export const LANGUAGES = { de: { name: 'Deutsch', code: 'de', flag: 'de' }, it: { name: 'Italiano', code: 'it', flag: 'it' }, ru: { name: 'Русский', code: 'ru', flag: 'ru' }, + zh: { name: '中文', code: 'zh', flag: 'cn' }, } export function setupI18n(options = { locale: 'en' }) {