Next: Invoking the msgpre Program, Up: Pretranslating PO Files [Contents][Index]
We don’t recommend to use machine translation through a web service in the cloud, controlled by someone else than yourself. Such a machine translation service would be have major drawbacks (it could go away any time, it could be used to spy on you or manipulate you, or the costs could go up beyond your control); see https://www.gnu.org/philosophy/who-does-that-server-really-serve.en.html. Additionally, such a service typically has some cost (between 10ドル and 25ドル per megabyte, as of 2025).
Instead, we recommend a Large Language Model execution engine that runs on hardware under your control. This can be a desktop computer, or for instance a single-board computer in your local network.
At this point (in 2025), a Large Language Model execution engine that is Free Software is ‘ollama’, that can be downloaded from https://ollama.com/.
Next, you will need to pick a Large Language Model. There are two properties to watch out for:
Together with an LLM of reasonable quality,
such as the model ministral-3:14b,
the system requirements are as follows:
ollama, 9 GB for the model).
ollama to provide an optional speedup.
Additional configuration:
ollama on your computer directly,
no further configuration is needed.
ollama on a separate machine,
and want to make it accessible from all machines in the LAN:
Edit the file /etc/systemd/system/ollama.services,
adding a line: Environment="OLLAMA_HOST=0.0.0.0".
See https://github.com/ollama/ollama/issues/703.
ollama in a virtual machine,
make the port 11434 accessible through port forwarding.
Next: Invoking the msgpre Program, Up: Pretranslating PO Files [Contents][Index]