From bee238f35ae1e3184e24e8af864cea0cb6a58bf8 Mon Sep 17 00:00:00 2001 From: lzw-723 <42259168+lzw-723@users.noreply.github.com> Date: Mon, 14 Apr 2025 19:42:29 +0800 Subject: [PATCH] Update i18n.js --- static/js/i18n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/i18n.js b/static/js/i18n.js index 206bde64..6da8c004 100644 --- a/static/js/i18n.js +++ b/static/js/i18n.js @@ -12,7 +12,7 @@ let currentLocale = 'en'; // Supported locales -const supportedLocales = ['en', 'es']; +const supportedLocales = ['en', 'es', 'zh']; // Fallback to English if locale is not supported if (!supportedLocales.includes(currentLocale)) { @@ -267,4 +267,4 @@ window.i18n = { getSupportedLocales, translatePage, isLoaded: () => translationsLoaded -}; \ No newline at end of file +};