Recently I have been using OpenAI (via Weblate) to translate my gettext pot files. It works pretty well. In my experience OpenAI works better than Google Translate or similar machine translation services. I haven’t benchmarked this so it’s just based on limited use (almost 2 years now) in several projects.
I’m looking to simplify my setup by calling OpenAI directly from my dev and translate the pot files locally before pushing to git. I have found a mix plugin for Google Translate (GitHub - alexfilatov/getatrex: Gettext Automatic Translator in Elixir) but I would prefer something similar that uses an LLM (possiby via langchain if needed) that would do the same job.
I searched around for a while but didn’t find such a plugin. I’m considering writting one myself if I cannot find it.
Does anyone know of such a mix plugin?