You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AutoGen Studio currently has all UI text hardcoded in English across ~30 React components (~143 translatable strings). This creates a significant barrier for non-English-speaking developers, especially the large and growing Chinese developer community.
Proposed Solution
Add i18n support using react-i18next (the standard i18n library in the React ecosystem) with a language pack system:
i18n Infrastructure: Initialize i18next with resource bundles
Component Migration: Replace hardcoded strings with t() translation calls
Language Packs: Provide en-US.json (source) and zh-CN.json (Simplified Chinese)
Language Switcher: Add language selection dropdown in the header
antd Locale: Integrate Ant Design's built-in locale system
Technical Details
Library: react-i18next + i18next (most widely used React i18n solution)
Problem
AutoGen Studio currently has all UI text hardcoded in English across ~30 React components (~143 translatable strings). This creates a significant barrier for non-English-speaking developers, especially the large and growing Chinese developer community.
Proposed Solution
Add i18n support using
react-i18next(the standard i18n library in the React ecosystem) with a language pack system:t()translation callsen-US.json(source) andzh-CN.json(Simplified Chinese)Technical Details
react-i18next+i18next(most widely used React i18n solution)namespace.semanticName(e.g.,build.saveChanges,playground.newSession)Translation Key Statistics
PR Strategy
I propose splitting this into 4 focused PRs for easier review:
Benefits
Questions for Maintainers
react-i18nextacceptable as a new dependency, or would you prefer a lighter approach?I have a complete
zh-CN.jsontranslation pack ready (143 keys) and PR #7572 submitted with the i18n infrastructure.