Add Chinese (Simplified and Traditional) localization files and implement i18n tests

- Created zh-CN.json and zh-TW.json for Simplified and Traditional Chinese translations respectively.
- Added comprehensive test suite in test_i18n.py to validate JSON structure, server-side i18n functionality, and translation completeness across multiple languages.
This commit is contained in:
Will Miao
2025-08-30 21:41:48 +08:00
parent f6709a55c3
commit 52acbd954a
36 changed files with 4662 additions and 3819 deletions

View File

@@ -30,8 +30,6 @@ export class AppCore {
// Initialize i18n first
window.i18n = i18n;
// Load language from settings
await i18n.initializeFromSettings();
console.log(`AppCore: Language set: ${i18n.getCurrentLocale()}`);
// Initialize managers