feat(i18n): localize project to clear academic English - #64
Open
thuannguyen25032k wants to merge 6 commits into
Open
thuannguyen25032k wants to merge 6 commits into
thuannguyen25032k wants to merge 6 commits into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Translate the project from Chinese to English-only across code, UI, generated output, docs, and the seed template, while preserving functionality.
_cnsummary 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).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.