Skip to content

feat(i18n): add Korean (ko) locale#120

Open
dwhavi wants to merge 2 commits into
grinev:mainfrom
dwhavi:feat/ko-locale
Open

feat(i18n): add Korean (ko) locale#120
dwhavi wants to merge 2 commits into
grinev:mainfrom
dwhavi:feat/ko-locale

Conversation

@dwhavi
Copy link
Copy Markdown

@dwhavi dwhavi commented May 12, 2026

Summary

  • Add Korean (ko) locale support with 230+ translated keys in src/i18n/ko.ts
  • Register Korean locale in src/i18n/index.ts (code: ko, label: 한국어, dateLocale: ko-KR)
  • Add Korean-specific test cases in tests/i18n/index.test.ts for locale resolution, dateLocale, and options

Changes

File Change
src/i18n/ko.ts New — Korean translation dictionary (230+ keys)
src/i18n/index.ts Modified — Import ko, add to LOCALE_DEFINITIONS
tests/i18n/index.test.ts Modified — Add Korean locale test assertions

Translation Notes

  • Speech level: 해요체 (Polite) — friendly yet respectful tone matching the English source
  • Emoji: All emoji preserved exactly as in en.ts
  • Interpolation: All {variable} patterns preserved exactly
  • MCP section: Left in English following de.ts/zh.ts precedent
  • Command descriptions: Concise Korean (e.g., "서버 및 세션 상태", "새 세션 생성")

Usage

Set BOT_LOCALE=ko in .env to activate Korean UI.

Verification

  • tsc --noEmit
  • vitest run ✅ 886/886 tests pass
  • eslint --max-warnings=0
  • tsc build ✅ dist/i18n/ko.js generated

dwhavi and others added 2 commits May 12, 2026 23:36
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@grinev
Copy link
Copy Markdown
Owner

grinev commented May 13, 2026

@dwhavi thanks for PR, please update README and .env.example files

@grinev
Copy link
Copy Markdown
Owner

grinev commented May 13, 2026

And also please add translations for mcps.* keys, they are in english

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.

2 participants