Skip to content

feat(i18n): localize project to clear academic English - #64

Open
thuannguyen25032k wants to merge 6 commits into
ziwenhahaha:mainfrom
thuannguyen25032k:english-localization
Open

thuannguyen25032k wants to merge 6 commits into
ziwenhahaha:mainfrom
thuannguyen25032k:english-localization

Conversation

@thuannguyen25032k

Copy link
Copy Markdown

Translate the project from Chinese to English-only across code, UI, generated output, docs, and the seed template, while preserving functionality.

  • Backend: drop the bilingual _cn summary contract (now *_en); English-only LLM prompts; English section markers (## Detailed Summary (auto-generated), ## At a Glance, (End) sentinel, Deep Read / Quick Skim); remove the Chinese-translation feature (## 摘要, title_zh, translate step).
  • Frontend (app/): translate all UI strings, comments, and CSS; update the Zotero/section parsers to the new English markers, keeping legacy Chinese markers as back-compat fallbacks.
  • src/: translate remaining comments, log/error messages, and CLI help.
  • Docs: translate docs_init/ seed template (tutorials, config, sample paper, home modules), docs/ examples, .codex/AGENTS.md, and others/actions-zotero.yml.
  • Tests: update assertions and fixtures to the English contract.

Deliberately-kept Chinese is functional only: legacy back-compat matchers, year-stripping regexes, Chinese-input-handling tests, regression guards, and the DeepSeek provider's quota-error string.

Thuan Nguyen and others added 6 commits June 25, 2026 19:51
Translate the project from Chinese to English-only across code, UI,
generated output, docs, and the seed template, while preserving functionality.

- Backend: drop the bilingual `_cn` summary contract (now *_en); English-only
  LLM prompts; English section markers (`## Detailed Summary (auto-generated)`,
  `## At a Glance`, `(End)` sentinel, `Deep Read` / `Quick Skim`); remove the
  Chinese-translation feature (`## 摘要`, `title_zh`, translate step).
- Frontend (app/): translate all UI strings, comments, and CSS; update the
  Zotero/section parsers to the new English markers, keeping legacy Chinese
  markers as back-compat fallbacks.
- src/: translate remaining comments, log/error messages, and CLI help.
- Docs: translate docs_init/ seed template (tutorials, config, sample paper,
  home modules), docs/ examples, .codex/AGENTS.md, and others/actions-zotero.yml.
- Tests: update assertions and fixtures to the English contract.

Deliberately-kept Chinese is functional only: legacy back-compat matchers,
year-stripping regexes, Chinese-input-handling tests, regression guards, and
the DeepSeek provider's quota-error string.

Co-Authored-By: lilmortyj <781113402@qq.com>
Co-Authored-By: xixi <3495302215@qq.com>
Co-Authored-By: wy <345619498@qq.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: lilmortyj <781113402@qq.com>
Co-Authored-By: xixi <3495302215@qq.com>
Co-Authored-By: wy <345619498@qq.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Centralize pre-English config and paper markers, rename title/note schema to English identifiers, and remove stale localization meta files while keeping backward-compatible reads for older user data.

Co-Authored-By: lilmortyj <781113402@qq.com>
Co-Authored-By: xixi <3495302215@qq.com>
Co-Authored-By: wy <345619498@qq.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant