Zum Inhalt der Seite gehen

Suche

Beiträge, die mit internationaltranslationday getaggt sind


Although the Vivaldi web browser has a handy language translation tool built in, I'm not keen on having to post every snippet I want to translate out to the Internet (and rely on someone else's CPU time and goodwill).

LibreTranslate - libretranslate.com - turned out to be easy to set up. It's free, open source, and you can run it on your own hardware.

There are instructions on their GitHub page, but I just set up an LXC based on Debian 12 with 2GB RAM and 30GB disk, added a Python venv, and ran "pip install libretranslate". After downloading everything, it occupied 4.6GB of disk for the code and 8.7GB for the data. Then, I gave it a systemd service file to make it start on boot, and stuck HAProxy in front of it along with a self-signed certificate.

So now I have my own offline translation tool and thanks to a trivial shell script wrapper for the API (using curl), I can translate short snippets from the command line, too. I recommend trying it out if you've got a bit of disk and RAM to spare.

#FOSS #Linux #InternationalTranslationDay #curl


🗣️ September 30th is #InternationalTranslationDay, and we want to celebrate the Language Leaders. They are helping us build an open-source, privacy-focused voice assistant that anyone can run.

Thanks to all your hard work helping us over the Year of Voice and beyond! 🍻🙏🏻

#OpenHome #HomeAssistant #HomeAutomation #SmartHome

Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos