gecko-dev/browser/extensions/translations
Andre Natal fa52082634 Bug 1723637 - Prevent Firefox Translations extension id of changing when building locally r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D121586
2021-08-05 20:47:42 +00:00
..
extension Bug 1720961 - Fix Firefox Translations AddonID r=mixedpuppy 2021-07-19 15:41:27 +00:00
README Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye 2021-05-28 18:38:59 +00:00
import_xpi.py Bug 1723637 - Prevent Firefox Translations extension id of changing when building locally r=mixedpuppy 2021-08-05 20:47:42 +00:00
jar.mn Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye 2021-05-28 18:38:59 +00:00
moz.build Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye 2021-05-28 18:38:59 +00:00

README

This folder contains the source files for Firefox Translations, which utilizes
the proceedings from Project Bergamot [1].

The feature is developed as a webextension [2] which utilizes a neural machine
translation decoder [3] ported to WebAssembly in order to process the
in page translation. The translation models [4] are downloaded on-demand by the
extension, so there's no need to bundle them too.

The folder `extension_src` contains the entire code of the extension's xpi and
the wasm module (which lies inside the folder wasm), and is automatically
generated by the `import_xpi.py` script, which is responsibile for cloning
the extension repo [2], build it, and generate the `jar.mn` package containing
all the pertinent files necessary for running it.

For any questions, reach out to anatal@mozilla.com.

[1] https://browser.mt/
[2] https://github.com/mozilla-extensions/bergamot-browser-extension
[3] https://github.com/mozilla/bergamot-translator/
[4] https://github.com/mozilla-applied-ml/bergamot-models