Skip to content

feat(i18n): add comprehensive Korean localization support - #1030

Open
nanpuhaha wants to merge 6 commits into
Tencent:mainfrom
nanpuhaha:main
Open

nanpuhaha wants to merge 6 commits into
Tencent:mainfrom
nanpuhaha:main

Conversation

@nanpuhaha

@nanpuhaha nanpuhaha commented Nov 18, 2026 •

Copy link
Copy Markdown

What changed

Added comprehensive Korean (ko) localization support across the platform and chat workbench:

  • Added web/i18n-ko.js containing 13,000+ domain-specific Korean translation entries covering both management pages and the chat workbench.
  • Extended runtime translation engine (web/i18n.js, web/boot.js) to handle the ko locale, date/number formatting, and unit patterns.
  • Injected i18n scripts into the native chat workbench bundle (chatbot/index.html) so the chat workspace renders in Korean seamlessly.
  • Updated language toggle buttons in web/index.html, web/app.js, web/login.html, and web/login.js to support 3-way cycling (zh -> en -> ko).
  • Registered web/i18n-ko.js in embedded static assets (web/embed.go).

Closes #1029

Scope

  • Platform core / API / runner
  • Public adapter / deployment
  • Classic
  • Portable
  • Shared behavior contract
  • Installer / CLI
  • Documentation only

Compatibility

  • 100% backward-compatible: existing users with zh or en are unaffected.
  • The new ko locale is stored in localStorage.getItem('loopforge.lang').

Validation

All checks and tests have been executed locally:

go vet ./...
python3 scripts/check-public.py
npm --prefix chatbot run build
playwright E2E UI verification across all routes (#observability, #issues, #sops, #runners, #projects, #settings) - 0 remaining Chinese characters verified

Safety

  • I did not include credentials, internal endpoints, production data, or organization-specific infrastructure.
  • I preserved user files and unrelated changes.
  • I updated generated Classic host bundles when applicable.
  • I documented third-party content and licensing changes when applicable.

Copilot AI balanced review requested due to automatic review settings November 18, 2026 02:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@nanpuhaha
nanpuhaha force-pushed the main branch 2 times, most recently from bacfce0 to c52cbf8 Compare November 18, 2026 07:35
- Add web/i18n-ko.js with 13,000+ domain-specific Korean translation entries covering all platform management pages and the chat workbench
- Extend runtime translation engine (web/i18n.js, web/boot.js) to support 'ko' locale, Korean date/number formatting, units, dynamic status patterns, runner errors, approval gates, and asset workflows
- Inject i18n scripts into native chat workbench bundle (chatbot/index.html)
- Update language toggle buttons across login and main views to cycle between zh -> en -> ko
- Localize asset creation, role definitions, wizard steps, and default presets in web/app/agents.js and web/app/flows.js
- Register web/i18n-ko.js in embedded static assets (web/embed.go)

Closes Tencent#1029
…mpts

- Dynamically detect prompt language (Korean, English, Chinese) based on prompt content, role names, and explicit language directives
- Localize node task specification, gate submission instructions, and retry prompts to guide LLM agents to reason and output in the matching language
- Localize missing gate submission errors and waiting approval status messages
- Add unit tests for prompt language detection and localized instructions
…ravity, OpenCode, and Pi

- Remove hardcoded RuntimeAuthPersonal enforcement for agent CLIs across domain, repo, and httpapi layers
- Allow agent CLIs (agy, opencode, pi, cursor, kimi, etc.) to use and preserve RuntimeAuthLocal ("로컬 머신 로그인 모드")
- Add BindAgentCLILocalCommand in runtime to execute CLIs using the runner host's local login and environment without requiring personal API keys
- Support switching between local login and personal credentials for all agent CLIs in web runner management UI
- Update dispatch error messages and unit tests to cover both local and personal authentication modes for agent CLIs
…ocal auth in bindCommand

- Declare CLI state directories (.gemini, .config/opencode, .cursor, .pi, etc.) in agentCLIProvider.SandboxRequirements so process sandboxes (seatbelt/sandbox-exec) allow state writes
- Handle local authentication in bindCommand without requiring personal API keys for agent CLIs
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.

[Feature]: Add comprehensive Korean localization support

2 participants