I'm hoping one of these efforts will lead to local translation of PDFs. Anyone aware of one? Not local, but the best I've found is using Google Translate via camera/images.
I integrated a local translation model. It downloads the model to your browser cache on the first run (so it's a bit heavy initially), but after that, you can OCR and translate documents 100% offline without uploading anything.