Skip to content

Translate 5 CLI messages to Korean with locale detection #259

Description

@KryptosAI

Summary

Translate 5 error messages in the CLI to Korean (한국어) to improve accessibility for Korean-speaking users.

Files to modify

  • src/commands/helpers.ts (or wherever error message strings are defined)

What to change

Translate these 5 messages and add them as fallback/localized strings:

English Korean
"No MCP servers found. Try running the demo first." "MCP 서버를 찾을 수 없습니다. 먼저 데모를 실행해 보세요."
"Server timed out. Try increasing timeout with --timeout 30000" "서버 시간이 초과되었습니다. --timeout 30000 으로 시간 제한을 늘려보세요."
"Connection refused. Check that the server is running." "연결이 거부되었습니다. 서버가 실행 중인지 확인하세요."
"Invalid configuration file. Check JSON format." "잘못된 구성 파일입니다. JSON 형식을 확인하세요."
"Scan completed successfully." "스캔이 성공적으로 완료되었습니다."
  1. Add a locale detection helper using process.env.LANG or Intl.Locale.
  2. Store translations in a simple object map keyed by locale (e.g., { ko: { "No MCP servers found": "..." } }).
  3. Add a --lang CLI flag to override locale detection.
  4. Apply translations when printing error/user-facing messages.

Expected behavior

When LANG=ko_KR.UTF-8 is set or --lang ko is passed, the 5 messages above display in Korean.

Estimated time

~15-20 minutes

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliCLI UX, command surface, and error messagingarea:docsREADME, docs, and contributor guidancegood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions