Skip to content

Conversation

@bdim404
Copy link

@bdim404 bdim404 commented Oct 28, 2025

Summary:
Add i18n support for English and Chinese languages
Implement dynamic language switching in the Gradio UI
Extract all UI text strings to JSON configuration files

Changes:
Created i18n infrastructure with load_i18n() function to load language files
Added demo/i18n/en.json and demo/i18n/zh.json for English and Chinese translations
Added language switcher dropdown in the UI
Refactored all hardcoded UI strings to use i18n text variables
Updated all button labels, prompts, error messages, and page info to support dynamic language switching

图片 图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant