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." |
"스캔이 성공적으로 완료되었습니다." |
- Add a locale detection helper using
process.env.LANG or Intl.Locale.
- Store translations in a simple object map keyed by locale (e.g.,
{ ko: { "No MCP servers found": "..." } }).
- Add a
--lang CLI flag to override locale detection.
- 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
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:
process.env.LANGorIntl.Locale.{ ko: { "No MCP servers found": "..." } }).--langCLI flag to override locale detection.Expected behavior
When
LANG=ko_KR.UTF-8is set or--lang kois passed, the 5 messages above display in Korean.Estimated time
~15-20 minutes