firefox-translations
translation-service
firefox-translations | translation-service | |
---|---|---|
39 | 1 | |
577 | 20 | |
- | - | |
0.0 | 3.6 | |
9 months ago | 3 months ago | |
JavaScript | 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.
firefox-translations
-
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 Translations is now enabled by default in Nightly.
-
Are there plans for Firefox Translations to get updates for Japanese and Korean in the future?
You can submit feature requests to this Github repository: Add Japanese Translation.
-
Firefox told me about the Translations addon, so I thought I'd test it out... I suspect it may need some work.
I reported this to https://github.com/mozilla/firefox-translations/issues/688
-
Mozilla Launches Responsible AI Challenge
Mozilla did release DeepSpeech[0] and Firefox Translation[1] (the latter of which they included in Firefox, to offer client-side webpage translations.)
They definitely have fewer resources than OpenAI, and they do not produce SOTA research (their publications have plummeted to 1/year anyway[2]). So the only way for them to make progress is to seek government grants or make challenges like these.
This challenge is unlikely to be profitable for the winning team: the expected value of winnings are likely around $1K when taking into account the probability that another team gets a better rank, but ML research projects are often more expensive (recently, Alpaca spent upwards of $600 on computation alone; and of course pretraining large models is much more expensive). So the main gain will be publicity.
[0]: https://github.com/mozilla/deepspeech
[1]: https://github.com/mozilla/firefox-translations/
[2]: https://research.mozilla.org/
-
Do you know libraries which can translate simple texts offline in Java?
Firefox has an offline translation extension: https://github.com/mozilla/firefox-translations
-
Firefox Translations is awesome 😍
That will be released in the next version: https://github.com/mozilla/firefox-translations/commit/af29a6ca83c4e98566d510c0f150667a43e506d2
-
Firefox Translations doesn't use the cloud
https://github.com/mozilla/firefox-translations/issues/374
Maybe it will get implemented
-
How can I didable firefox translations?
Did you install Firefox Translations? If so, the feature to turn off translation bar will come very soon in the next version according to this bug.
-
Firefox 106 released
See https://github.com/mozilla/firefox-translations for in development languages.
translation-service
-
Mozilla releases local machine translation tools as part of Project Bergamot
I'm not aware of any actively maintained projects that give you this out of the box, but these two could be starting points for such a project.
Mozilla implemented a REST service based on (an earlier version of) bergamot-translator [1]. You could use that as a replacement for the WASM component in the addon's code.
I also know of some full-page translation demo code that uses the python bindings of bergamot-translator [2]. That's basically a web proxy a la Goole Translate.
Lastly, marian, the translation software that's being used, has a web server as well [3]. It does not support HTML though.
[1] https://github.com/mozilla/translation-service
[2] https://github.com/jerinphilip/tagtransfer
[3] https://marian-nmt.github.io/docs/#web-server
What are some alternatives?
LibreTranslate - Free and Open Source Machine Translation API. Self-hosted, offline capable and easy to setup.
marian-dev - Fast Neural Machine Translation in C++ - development repository
lingva-translate - Alternative front-end for Google Translate
tagtransfer - Evaluations for tag-transfer in bergamot
translateLocally - Fast and secure translation on your local machine, powered by marian and Bergamot.
bergamot-translator - Cross platform C++ library focusing on optimized machine translation on the consumer-grade device.
translate - Translations website utilizing Bergamot proceedings
firefox-translations-training - Training pipelines for Firefox Translations neural machine translation models
gecko-dev - Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html