The translator is based on the Bergamot project (https://browser.mt/) and making it work on Android involves installing their Firefox extension, which used to be the way the feature was implemented before it got merged natively into the browser on desktop.
You should make sure that you have the Firefox Beta, Nightly or Fennec installed (that shouldn’t be necessary once Firefox brings extended add-ons support to stable Android releases too hopefully later this month).
The first step is to enable the debug menu by going to “Settings” -> “About Fennec/Firefox” and tapping a few times on the app icon until you see debug menu enabled
.
You then have to go back to the “Settings” menu and go to “Custom Add-on collection”. Here you don’t need to create your own collection on Mozilla’s website, you simply need to type in the id and name from Firefox Translation’s Github page: https://github.com/mozilla/firefox-translations (see the “Android” section).
Once you do that, go to the add-ons manager and you’ll see the Firefox Translation extension there and now you simply have to install it.
The extension works in two ways: you can translate whole web pages by taping on its icon in the bottom right of the screen, or you can translate custom inputs by opening the extension from the add-ons menu. All of that is done offline by your phone’s chip (I’m guessing it’s only using the CPU since on the desktop version they talked about SIMD code and no mention was made of GPUs) and it’s really fast.
The only caveat is that the extension is not maintained anymore (and the last release is from July) since they merged that feature into the desktop version of Firefox but IMO it does a really good job, you probably won’t get new languages unless someone forks it (or Mozilla brings the feature natively to Android too), but it’s pretty functional already.
Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
1. All posts must be relevant to Android devices/operating system.
2. Posts cannot be illegal or NSFW material.
3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.
4. Non-whitelisted bots will be banned.
5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.
6. Memes are not allowed to be posts, but are allowed in the comments.
7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.
8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.
Community Resources:
We are Android girls*,
In our Lemmy.world.
The back is plastic,
It’s fantastic.
*Well, not just girls: people of all gender identities are welcomed here.
Our Partner Communities: