On-device document translation: sensitive files translated without leaving the machine
YuanASI projects
- Industry
- Business services · Document translation
Project
On-device document translation
The situation
Contracts and NDAs often need translating between Chinese and English, but uploading them to an online translation or LLM service means handing their content to a third party.
Solution
Chinese–English translation of Markdown and PDF, output as the translation alone or as a bilingual version with the original followed by the translation; scanned pages are read with on-device OCR.
Input, recognition, translation and output all stay on the machine: the app is sandboxed, requests no network permission, and calls no third-party model or cloud API; once the language packs are downloaded it works offline.
Every translated passage is checked against its paragraph number; a missing, duplicated or empty passage raises an error instead of producing partial output. The source is public under the Apache-2.0 license.
Sources
- GitHub project:https://github.com/YuanASI/on-device-translator ↗
Last updated
Want to know how a workflow like this would land on your side?