Firefox local translations

last updated: Oct 31, 2025

I discovered this morning via mastodon that Firefox has a local translation model, accessible via about:translations. This is very neat!

So I wanted to see if I could get it working via the command line, and did a bit of digging.

The Firefox source code for it is here, it uses CLD2 as a language detector, and then marian to do the actual translation.

They have a nice documentation page for it.

Unfortunately, so far I didn't find a way to use it from the command line, and I also failed to build marian for my mac.

↑ up