feat(i18n): Add internationalization support with English and Chinese#648
Open
Yeluo10123 wants to merge 2 commits intoCrosstalk-Solutions:mainfrom
Open
feat(i18n): Add internationalization support with English and Chinese#648Yeluo10123 wants to merge 2 commits intoCrosstalk-Solutions:mainfrom
Yeluo10123 wants to merge 2 commits intoCrosstalk-Solutions:mainfrom
Conversation
- 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>
…ages - 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>
This was referenced Apr 4, 2026
Collaborator
|
Thanks for the substantial work on i18n here. Quick status update so you know where this stands: There are currently three open i18n PRs using two different frameworks (#490 with react-i18next + Portuguese, #518 with react-i18next + German, #648 with plain i18next + Chinese), each covering a different language. Before landing any i18n work, we need to make a framework decision so we end up with one coherent approach rather than a mix of incompatible implementations. i18n isn't in scope for the next release cycle. It's on the roadmap for a future release, but no firm timeline. What this means for your PR:
Leaving this open and labeling as Roadmap Item. Thanks for your patience and for contributing to NOMAD's international reach. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Translation Structure
Translations are organized by feature:
common: Common UI elements (buttons, labels)home: Dashboard/home pagemenu: Navigation menu itemsmaps: Maps featurechat: AI chat featuresettings: Settings pagessystem: System settingsapps: App managementmodels: AI modelseasySetup: Setup wizarddocs: Documentationabout: About pageerrors: Error pagesUsage
Components can use translations like:
Language Switcher
A
LanguageSwitchercomponent is provided that can be added to the settings UI for users to switch between English and Chinese.Next Steps
🤖 Generated with Claude Code