Skip to content

Internationalize to Korean and refactor provider configuration#36

Open
Photometry4040 wants to merge 13 commits intoMrSibe:mainfrom
Photometry4040:claude/refactor-llm-integration-cf2Nr
Open

Internationalize to Korean and refactor provider configuration#36
Photometry4040 wants to merge 13 commits intoMrSibe:mainfrom
Photometry4040:claude/refactor-llm-integration-cf2Nr

Conversation

@Photometry4040
Copy link
Copy Markdown

Summary

This PR introduces Korean language support (ko-KR) as the new default language and refactors the AI provider configuration system to focus on local-first and open-source models. The changes include comprehensive Korean localization, simplified provider registry, and removal of cloud-based provider dependencies.

Key Changes

Localization & Internationalization

  • Added complete Korean (ko-KR) translations for all UI modules:
    • settings.json, ui.json, notebook.json, chat.json, quiz.json, anki.json, shortcuts.json, common.json
  • Removed Chinese (zh-CN) locale files as part of language consolidation
  • Changed default language from en-US to ko-KR and default theme from dark to light
  • Updated all code comments and documentation strings from Chinese to Korean throughout the codebase

Provider Configuration Refactoring

  • Changed default active provider from deepseek to lmstudio (local-first approach)
  • Simplified defaultBaseUrls to focus on local and open-source providers:
    • Added LM Studio: http://localhost:1234/v1
    • Kept Ollama: http://localhost:11434/api
    • Kept OpenAI and DeepSeek for cloud options
    • Removed: Qwen, Kimi, SiliconFlow, Zhipu
  • Removed model configuration files for removed providers:
    • qwen.ts, kimi.ts, siliconflow.ts, zhipu.ts
  • Added new lmstudio.ts model configuration with common local LLM models
  • Updated AISDKProvider to remove Qwen-specific imports and focus on OpenAI-compatible APIs

Service & Configuration Updates

  • Updated service file headers and comments to Korean
  • Disabled auto-update service for on-premise deployment
  • Removed GitHub publish configuration from electron-builder.yml
  • Removed npm mirror configuration from .npmrc for standard npm registry usage
  • Updated language type definitions to include ko-KR and remove zh-CN

UI/UX Adjustments

  • Updated theme colors in theme.css for improved light theme appearance
  • Changed default settings to use light theme and Korean language
  • Updated language selector to reflect new language options

Implementation Details

  • All Korean translations maintain consistency with existing English translations
  • Provider configuration changes maintain backward compatibility through configuration migration
  • Local-first approach prioritizes LM Studio and Ollama for privacy and offline usage
  • Comments throughout codebase systematically converted to Korean for consistency

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG

claude added 11 commits April 4, 2026 06:17
- LM Studio 로컬 LLM 프로바이더 추가 (OpenAI 호환 API, localhost:1234)
- 불필요한 중국 프로바이더 제거 (Qwen, Kimi, SiliconFlow, Zhipu)
- 자동 업데이트 서비스 비활성화 (온프레미스 환경)
- 중국어 주석/로케일을 한국어로 전환, zh-CN 로케일 삭제
- ko-KR 로케일 파일 생성, 기본 언어를 한국어로 변경
- 라이트 테마를 기본으로 변경, 밝은 기업용 색상 스킴 적용
- 에이전트 아키텍처 설계 문서 추가 (AGENT_ARCHITECTURE.md)
- npmrc 중국 미러 설정 정리

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
- ProvidersSettings.tsx에 LM Studio 프로바이더 패널 추가
- 제거된 중국 프로바이더(Qwen, Kimi, SiliconFlow, Zhipu) UI 정리
- DB 스키마/쿼리/인덱스 파일 중국어 주석 한국어 번역
- KnowledgeService 중국어 주석 한국어 번역

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
- 120+ 파일의 중국어 주석을 한국어로 번역
- AISDKProvider.ts 깨진 한국어 주석 재작성
- createQwen 참조 제거 (Qwen 프로바이더 삭제됨)
- SiliconFlow providerKey 참조 제거
- 전체 소스코드 한국어화 완료

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
- UpdateService의 미사용 private 필드 제거 (TS 에러 해결)
- setMainWindow eslint 경고 억제
- AISDKProvider 깨진 한국어 주석을 자연스러운 한국어로 재작성
- createQwen 타입 참조 제거
- typecheck 및 lint 통과 확인

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
- 72개 파일의 중국어 주석 한국어 번역
- i18nStore, LanguageSelector에서 zh-CN을 ko-KR로 변경
- 한국어 언어 옵션 '한국어'로 표시
- preload/index.ts 및 shared 타입 파일 주석 정리

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
- ankiHandlers, dialogHandlers, itemHandlers 등 11개 IPC 파일 번역
- validation.ts, updateHandlers.ts 주석 한국어화

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
- QuizService 난이도 지시문 한국어 번역
- AnkiCardService, MindMapService 기본 언어 ko-KR로 변경
- WebFetchService Accept-Language 헤더 ko-KR로 변경
- 전체 소스코드에서 중국어 및 zh-CN 참조 완전 제거 확인

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
- siliconflow, qwen, kimi, zhipu URL 참조 제거
- LM Studio 모델 목록 조회 로직 ���가 (OpenAI 호환 API)
- 깨진 한국어 주석을 자연스러운 한국어로 재작성
- typecheck 통과 확인

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
@Photometry4040
Copy link
Copy Markdown
Author

한국어화 작업

claude added 2 commits April 4, 2026 07:02
- README.md 전체 한국어 번역
- 원개발자 @MrSibe에 대한 감사와 원본 프로젝트 출처 명시
- Fork 버전임을 명확히 표기하여 원개발자에게 혼란 방지
- README_CN.md (중국어) 삭제
- 프로바이더 지원 테이블, 포크 변경사항 섹션 추가

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
1. 사용하지 않는 패키지 제거 (qwen-ai-provider, ollama-ai-provider v1)
2. 삭제된 프로바이더 로케일 문자열 정리 + LM Studio/Ollama 설명 추가
3. 한국어 폰트(Noto Sans KR) 추가 - index.html, theme.css
4. Windows 타이틀바 symbolColor를 테마에 따라 동적 변경
5. 테마 변경 시 titleBarOverlay 실시간 업데이트
6. updateSessionTokens N+1 쿼리를 단일 SQL로 최적화

https://claude.ai/code/session_01NjT86A3ToSTS8zZLmvndXG
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