bergamot-translator
web-bugs
bergamot-translator | web-bugs | |
---|---|---|
31 | 356 | |
299 | 715 | |
3.7% | 0.4% | |
6.4 | 0.0 | |
13 days ago | 10 months ago | |
C++ | ||
Mozilla Public License 2.0 | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bergamot-translator
-
Fast and secure translation on your local machine with a GUI
Interestingly, I think this is actually related to the offline translation features built into Firefox. Both are products of "Project Bergamot", but the Mozilla-maintained version was later merged into the Firefox application:
https://browser.mt/
https://blog.mozilla.org/en/mozilla/local-translation-add-on...
https://hacks.mozilla.org/2022/06/training-efficient-neural-...
https://github.com/mozilla/firefox-translations
https://firefox-source-docs.mozilla.org/toolkit/components/t...
Extra webpage with screenshot and links, impossible to search for normally:
https://translatelocally.com/downloads/
Does one thing and does it well.
Ohβ For downloading models, it's much easier to pipe/`xargs` `translateLocally --available-models` into `translateLocally -d` than go through the GUI.
---
Other self-hostable translation tools:
https://www.apertium.org/index.eng.html
- Traditional rule-based translation. Seems to work pretty well, but no good desktop frontend.
https://www.argosopentech.com/
- Works, but crashy desktop app.
https://libretranslate.com/
- API wrapping Argos Translate.
https://lingva.thedaviddelta.com/
- Google Translate scraper/privacy frontend.
https://euroglot.com/
- Proprietary, subscription trialware.
-
Firefox 118
It's possible with Neural Machine Translation models. Before being integrated into Firefox itself local translation was already available through the TranslateLocally add-on, see: https://browser.mt/
-
Linguist 5.0 - addon to translate and learn languages with respect to privacy
my understanding is this is using the same backend for the offline translator (aka Bergamot Project), it also supports online translation services (Google, DeepL, Bing, etc.)
-
Need to translate a 200 page book
Then you can run the OCR text through either a google, deepl, or one of the other commercial services to translate as a first pass. They all sell API access to the engines for bulk translation. Or you can use an open source engine like the new Bergamot Engine
-
Firefox Translations doesn't use the cloud
It is running a full transformer type neural network on your cpu, it needs all the speed it can get.
Itβs because the translation engine requires at least SSSE3.1 instructions[1]. These are translated to wasm SIMD instructions[2] which are only enabled by browsers if the underlying hardware is there to execute these at least somewhat efficient.
[1] https://github.com/browsermt/bergamot-translator/issues/418
[2] https://emscripten.org/docs/porting/simd.html
-
Show HN: Using stylometry to find HN users with alternate accounts
> But then you have to send your original comment to a translation company so there are privacy concerns there too.
There are modern offline translation systems available such as Project Bergamot https://browser.mt/
-
How do I remove this ugly annoying translation bar that pops up on various sites in FireFox? It doesn't show up in Chrome on the same site, and I have not installed any translation extensions as far as I know.
https://browser.mt/ ("Bergamot" was the technical name for the project.)
-
What do you believe Firefox is missing?
Already exists!
-
Skill for translating words/phrases?
But it'd also be a good idea to check out https://translatelocally.com/ which is a UI for https://github.com/browsermt/bergamot-translator, used in Mozilla's offline MT browser extension. It's deep neural MT, but surpisingly undemanding (runs just fine on CPU's). Not yet in apt and such, but translatelocally at least has dpkg's and newest version should be usable from the CLI.
-
Mozilla reaffirms that Firefox will continue to support current content blockers
Consider Firefox translations, this is a completely offline machine translation extension based on this project.
web-bugs
-
Google breaks search for Firefox users because of bad UA string sniffing
The thread is very long, here is the relevant comment:
https://github.com/webcompat/web-bugs/issues/131916#issuecom...
-
Chrome's next weapon in the War on Ad Blockers: Slower extension updates
https://github.com/webcompat/web-bugs/issues?q=is%3Aopen+is%...
Microsoft Teams (which I don't think many people use voluntarily) in particular breaks in stupid ways - and then in others if you spoof your user agent.
-
"This video is either unavailable or not supported in this browser. (Error #4000) " on twitch with new laptop
a link to the video would help with troubleshooting, seems like another case of "this site or this particular feature doesn't support firefox" otherwise report to https://webcompat.com/
-
Hamrobazaar not opening in Firefox
Have any of you faced this? If the website is made to open only in chromium-based browsers, I am planning to report to Webcompat. But before that, I thought I would make sure from others. Any experience or quick fix would be appreciated.
- Web-bugs: A repo used by the Web Compatibility community to track issues
-
Switching from Chrome to Firefox? Here Are Some Tips
Teams was a classic hellhole for me when I was using Linux. Nowadays it lets you in but Firefox genuinely doesn't support all of the features the Teams site uses. This means certain features are made unavailable to Firefox users. Forcing the user agent makes some of these partially work but they are also still broken so Mozilla doesn't want to enable a user agent override by default and Microsoft doesn't want to enable a feature that only half works.
This GitHub WebCompat issue serves as a good example history https://github.com/webcompat/web-bugs/issues/77892
-
Firefox: WhatsApp Web cannot paste text?
https://github.com/webcompat/web-bugs/issues/125920#issuecom...
- Copy-paste broken on WhatsApp on Firefox
- π O bug que "quebrou" o Whatsapp π
-
Firefox Finally Outperforming Google Chrome in SunSpider
having recently looked at a firefox performance regression for filing a bugreport, tooling that tracks performance (quite publicly) sees attention, easy upload to share tracing profiles also helps: https://firefox-source-docs.mozilla.org/testing/perfdocs/ind...
Their dedicated blog keeps you posted if firefox perf is your interest https://blog.mozilla.org/performance/
If you have a particular website you notice chromium being significantly faster with, for an easy report, there's https://webcompat.com/ - though bugzilla is better than it seems when coming from github issues
What are some alternatives?
go-socks5-proxy - A lightweight Go SOCKS5 proxy-server
firedragon-browser - A Floorp fork with custom branding π (mirrored from GitLab)
wordle-bg - π§π¬ Wordle clone in Bulgarian
temp_librewolf_prefpane - temporary repository to share librewolf built with the prefpane
linguist - Translate web pages, highlighted text, Netflix subtitles, private messages, speak the translated text, and save important translations to your personal dictionary to learn words even offline
privacytests.org - Source code for privacytests.org. Includes browser testing code and site rendering.
skia-opengl-emscripten - DEPRECATED! ~~C++ HTML/CSS UI. Supports subset of HTML/CSS. Based on chromium/cobalt.foo without JavaScript overhead. Uses SKIA 2D graphics library. Can be used to build UI for cross-platform app, game or website. Can support browser as HTML5 web framework or WebGL UI renderer.~~
icecat-win64
marian-dev - Fast Neural Machine Translation in C++ - development repository
stealth - :rocket: Stealth - Secure, Peer-to-Peer, Private and Automateable Web Browser/Scraper/Proxy
frontend.wasm - Wasm frontend for Tolc
Fenix - β οΈ Fenix (Firefox for Android) moved to a new repository. It is now developed and maintained as part of: https://github.com/mozilla-mobile/firefox-android