this post was submitted on 20 Aug 2023
112 points (95.2% liked)

Technology

59311 readers
5850 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

cross-posted from: https://programming.dev/post/1924228

Hey everyone, check the Linguist

  • you can translate texts offline (with sent no one single byte to a Google and stay private)
  • a lot of features and flexible configuration
  • dictionary + history for learn languages
  • it is are hackable - you can write code to use your own translation service
all 8 comments
sorted by: hot top controversial new old
[–] redcalcium@lemmy.institute 16 points 1 year ago

Very nice. It even support Project Bergamot (browser-based machine learning translation) to translate locally without sending out data to 3rd party services.

[–] jungle@lemmy.world 4 points 1 year ago

Was Linguist used to translate this web page by any chance?

[–] iturnedintoanewt@lemm.ee 4 points 1 year ago* (last edited 1 year ago) (1 children)

I've been using it for a while, rather successfully. In my specific case scenario, I frequently need Chinese (both Mandarin and Cantonese) websites translated. Before Linguist, I'd have to have Chromium somewhere just for that specific purpose. Now I can do it from Firefox, and I love how easy it is to use. I'm still sad I need to use either GTranslate or Yandex in order to translate Chinese, so it's being used to track me online and there's little I can do about that. Bergamot sadly doesn't offer Chinese, and I don't believe it will in the near future. I hope some Chinese offline translator is offered at some point...but I have so far no idea.

[–] vitonsky@programming.dev 5 points 1 year ago (1 children)

You can make a language request in a issues of repository https://github.com/mozilla/firefox-translations-models/

You're right, resources are limited and a new languages appears not so fast as we wants. Maybe Chinese developers will collaborate and release their own models for a Bergamot. Work with community are important to achieve the goal when we want to unify translation.

If you really needs to be private for now, you can try to deploy your own offline translation server locally (e.g. with a https://github.com/LibreTranslate/LibreTranslate) and use this translator with Linguist as a custom translator.

[–] iturnedintoanewt@lemm.ee 2 points 1 year ago (1 children)

Oh wow....I had no idea this is an option. How would I do this? Is there a guide to integrate it with your add-on?

[–] vitonsky@programming.dev 3 points 1 year ago

Yes, the links you needs:

A LibreTranslate may download a gigabytes data once, to get AI models for all language directions, then translation will runs on your computer

[–] intelati@programming.dev 4 points 1 year ago

Ooh. Will add to my list. Come on full mobile extensions Firefox. (Moved to the stable version)