Add REST endpoints and frontend wiring for per-language project actions:
- POST /api/workspace/{project}/translation/{lang}/queue — queue translation
- POST /api/workspace/{project}/audio/{lang}/queue — queue audio generation
- GET/POST /api/workspace/{project}/format/{lang} — format metadata (EPUB/PDF)
- GET /api/workspace/{project}/review/{lang}/chapters/{chapter} — utterance review
- GET/POST /api/workspace/{project}/front-matter/{lang} — front matter editor
- GET /api/workspace/{project}/chapters/{lang} — chapter list
- GET /api/workspace/{project}/chapter-content/{lang}/{chapter} — chapter text
Frontend fixes:
- Review page shows per-language text (English source, Chinese translation, etc.)
- Non-translated languages show 'Queue translation' button only
- Speaker data from English source matched by paragraph ID
- UmbraAudio column layout: Speaker, Variation, Text, Actions
- Chapter tree in left sidebar: Front matter, Back matter, Body
- Audio Format label at top of sidebar
- Pandoc formatting toolbar for front matter text editing
2.2 KiB
Task List: Build Chinese Translations (Deal Hunter)
Updated: 2026-10-21
Legend: [x] done [~] in progress [ ] todo [!] blocked [?] decision needed
PHASE 0: PREP & ALIGNMENT
[ ] T-B0.1 Verify source bundle and extracted book.json exist and match sha256 [ ] T-B0.2 Check LM Studio connectivity (192.168.123.16:1234/v1) and model availability [ ] T-B0.3 Review Questions.txt; apply defaults where safe, list decisions needed [ ] T-B0.4 Snapshot current glossary.json and prompts before full run [ ] T-B0.5 Update Status.txt with current phase
PHASE 1: HARDEN QUALITY (SAMPLE)
[ ] T-B1.1 Re-run front matter translation with corrected prompt/glossary [ ] T-B1.2 Complete Pass 4 critic on all Chapter 1 chunks [ ] T-B1.3 Run Pass 3 consistency on Chapter 1 [ ] T-B1.4 Curate glossary candidates (review candidates.md, merge approved) [ ] T-B1.5 Run qa.py strict on front matter + Chapter 1; address issues [ ] T-B1.6 Regenerate review.html and spot-check
PHASE 2: FULL BOOK TRANSLATION
[ ] T-B2.1 Translate remaining front matter if any [ ] T-B2.2 Translate body chapters in order (batch or sequential). Use resume. [ ] T-B2.3 Translate back matter [ ] T-B2.4 Periodic QA after batches [ ] T-B2.5 Monitor usage/cost; log in Status.txt
PHASE 3: RENDER & REVIEW OUTPUTS
[ ] T-B3.1 Render full book to AsciiDoc [ ] T-B3.2 Render to ODT via Flat ODF + LibreOffice UNO (update TOC) [ ] T-B3.3 Render to PDF [ ] T-B3.4 Verify front/body/back matter formatting [ ] T-B3.5 Full qa.py strict on complete translation [ ] T-B3.6 Place outputs in productions/deal-hunter-zh/output/ for review
PHASE 4: DOCUMENTATION
[ ] T-B4.1 Update Status.txt with completion status [ ] T-B4.2 Update TaskList.txt with final state [ ] T-B4.3 Record decisions made (Q1-Q8) in Status.txt or Decisions.md [ ] T-B4.4 Note any remaining gaps/issues
PROGRESS UPDATE (2026-10-21)
[~] Full book translation in progress (long-running LLM jobs). Chapters translated so far: front matter (ch-1,3,4,5), back (ch-35), body partially translated (ch-6 through ch-18 in progress/completed as log shows). Render generated for current translated content in output-progress/ (AsciiDoc/ODT/PDF). Applied recommended defaults for Q1-Q8.