Update i18n.js

This commit is contained in:
lzw-723
2025-04-14 19:42:29 +08:00
committed by GitHub
parent a33b416932
commit bee238f35a
+2 -2
View File
@@ -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
};
};