Building a Persian-first desktop translator for PDF and EPUB books — chunking, rolling context, and a per-book structure template
Translating a 300-page book in a chat window fails in predictable ways: the model summarizes instead of translating, terminology drifts between chapters, running headers become translated garbage, and one crash loses an hour of work. This is a Windows desktop app that fixes each of those with local, readable code — paragraph-aware chunking, a rolling context tail, per-book structure templates, a DPAPI-encrypted key, and a job store that saves every finished page.
Read Note →