this post was submitted on 09 Apr 2024
232 points (98.3% liked)
Linux
48655 readers
499 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is there confirmation that it's done locally? That would require a quite big download, especially if multiple languages are in it. Also if local, it should be easier to translate large documents instead of emphasizing snippets. One always has to be suspicious of Mozilla these days.
As far as I know Mozilla never lied on technical details, at worst they didn't know about wrongdoings by their partners and acted once known about.
The translation being done locally is advertised and should be simple to check with it being open-source. It also has to download for a while on first use, as well as translations take a considerable amount of time depending on the hardware. E.g. for larger sites it takes a short while until the last paragraph shows up as translated.
It uses the Marian library via WASM (their wrapper for this is here) to do translations, which AFAICT is "AI" based (which I presume knocks the file size down quite a bit) - additionally, the language packs (I'm not sure what term to use here so I'll just go with that) are not all bundled with Firefox, they're downloaded when you first use them.
The previous incarnation of it, the Firefox extension's repo was found over here - I assume the code is now within Firefox's main repo since its built into Firefox now.
I think the way to know is to unplug the PC from internet and see if Firefox can translate stuff.
Only their word until someone does it with a sniffer. E: I suppose, or looks the source but someone answered better now.
https://support.mozilla.org/en-US/kb/website-translation
Or just try it with no internet
Assuming it's not cached and sent next time it talks, of course.