Skip to content

fix(i18n): complete zh-CN translations and fix hardcoded English strings#46

Open
xie-tj wants to merge 1 commit into
OpenBMB:mainfrom
xie-tj:feat/i18n-zh-cn-v2
Open

fix(i18n): complete zh-CN translations and fix hardcoded English strings#46
xie-tj wants to merge 1 commit into
OpenBMB:mainfrom
xie-tj:feat/i18n-zh-cn-v2

Conversation

@xie-tj
Copy link
Copy Markdown

@xie-tj xie-tj commented May 28, 2026

  • Add missing zh-CN translations for common, settings, chat, codeEditor, auth, alwaysOn namespaces
  • Translate pilotdeckStatus section (Thinking→思考中, Live→运行中, etc.)
  • Add gemini permission mode translations
  • Fix hardcoded English in components: SetupForm, PilotDeckConfigTab, GitV2, ProviderLoginModal, ErrorBoundary, FolderBrowserModal, LlmConfigurationStep
  • Fix i18n key exposure bug (pilotDeckConfig.add → pilotDeckConfig.actions.add)
  • Translate "Always-On" → "常驻" across all zh-CN locale files
  • Fix JSON syntax errors in locale files (missing commas, Chinese quotes)

…strings

- Add missing zh-CN translations for all 9 namespaces (common, settings,
  chat, codeEditor, auth, alwaysOn, sidebar, tasks, routing)
- Translate pilotdeckStatus section (Thinking→思考中, Live→运行中, etc.)
- Add gemini permission mode translations
- Fix hardcoded English in 30+ components: SetupForm, PilotDeckConfigTab,
  GitV2, TasksV2, DashboardV2, ProviderLoginModal, ErrorBoundary,
  FolderBrowserModal, LlmConfigurationStep, AppShellV2, ToolRenderer,
  SubagentContainer, AskUserQuestionPanel, PermissionRequestsBanner,
  ImageLightbox, MarkdownCodeBlock, StandaloneShell, CodeEditorBinaryFile,
  EditorSidebar, MemoryPanel, DarkModeToggle, ProcessTrace, MessageRowV2,
  and more
- Fix i18n key exposure bug (pilotDeckConfig.add → pilotDeckConfig.actions.add)
- Translate "Always-On" → "常驻" across all zh-CN locale files
- Add thinkingModes, subagent, askUser, permission, imagePreview,
  questionContent, taskContent, todoContent namespaces to chat locale
- Add subsystemLabels, reloadSummary, sourceLabels, tierDescriptions,
  tierRules, searchConfig to settings locale
- Add deleteProject, deleteConversation, shell, gitV2, tasksV2,
  standaloneShell, codeEditorBinary, memoryPanel to common locale
- Fix JSON syntax errors in locale files (missing commas, Chinese quotes)
- Fix untranslated zh-CN values: Provider→提供商, API Key→API 密钥,
  Bearer header→Bearer 请求头, tokens→Token

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@xie-tj xie-tj force-pushed the feat/i18n-zh-cn-v2 branch from 7da7187 to 1f699e1 Compare May 28, 2026 19:49
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