Claude
|
56f49fe892
|
feat(i18n): Integrate language switcher and translate home/settings pages
- Add useTranslation hook to SettingsLayout
- Replace hardcoded menu items with translation keys
- Add LanguageSwitcher component to settings header
- Add i18n support to home page (Command Center)
- Translate Maps, Easy Setup, Install Apps, Docs, Settings menu items
- Update Alert components to use translation keys
- Add new translation keys for menu items and descriptions
Translation keys added:
- home.easySetupDesc, home.installAppsDesc, home.docsDesc, home.settingsDesc
- maps.viewOffline
- settings.contentExplorer, settings.contentManager, settings.mapsManager
- settings.checkUpdates, settings.supportProject, settings.serviceLogs
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-04-04 10:28:52 +08:00 |
|
Claude
|
a8f6fe353b
|
feat(i18n): Add internationalization support with English and Chinese
- Add i18next, react-i18next, and i18next-browser-languagedetector
- Create i18n configuration with language detection
- Add English (en) and Chinese (zh) translation files
- Create LanguageSwitcher component for runtime language switching
- Integrate i18n initialization in app.tsx
Translation keys organized by section:
- common: Common UI elements
- home: Dashboard/home page
- menu: Navigation menu items
- maps: Maps feature
- chat: AI chat feature
- settings: Settings pages
- system: System settings
- apps: App management
- models: AI models
- easySetup: Setup wizard
- docs: Documentation
- about: About page
- errors: Error pages
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-04-04 10:24:25 +08:00 |
|