Update i18n.js
This commit is contained in:
+2
-2
@@ -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
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user