Yes, the links you needs:
- Linguist docs about custom translators https://github.com/translate-tools/linguist/blob/master/docs/CustomTranslator.md
- Code of custom translator for a LibreTranslate https://github.com/translate-tools/linguist-translators/blob/master/translators/LingvaTranslator.js
- Guide to deploy a LibreTranslate on local machine https://github.com/LibreTranslate/LibreTranslate#install-and-run (or to use with docker: https://github.com/LibreTranslate/LibreTranslate#can-i-use-libretranslate-behind-a-reverse-proxy-like-apache2-or-caddy)
A LibreTranslate may download a gigabytes data once, to get AI models for all language directions, then translation will runs on your computer
Haha, actually it's my bad, not a Linguist ๐
I'm not a native speaker, i still learn the language, but you can edit a post text on a github https://github.com/vitonsky/blog/blob/master/posts/2023/july/linguist/2023-07-13-linguist.md i would appreciate it