Name Description Size
bergamot-translator.js 99825
build-bergamot.py Builds the Bergamot translations engine for integration with Firefox. If you wish to test the Bergamot engine locally, then uncomment the .wasm line in the toolkit/components/translations/jar.mn after building the file. Just make sure not to check the code change in. 6925
LICENSE 16725
moz.yaml 1000
upload-bergamot.py Uploads the bergamot wasm file to Remote Settings. This just uploads the build artifact, approval and deployment will still need to be done through Remote Settings. You must run ./build-bergamot.py first to generate the wasm artifact. Log in to Remote Settings via LDAP to either dev or prod: Dev: https://remote-settings-dev.allizom.org/v1/admin Stage: https://remote-settings.allizom.org/v1/admin Prod: https://remote-settings.mozilla.org/v1/admin In the header click the little clipboard icon to get the authentication header. Set the BEARER_TOKEN environment variable to use the bearer token. In zsh this can be done privately via the command line with the `setopt HIST_IGNORE_SPACE` and adding a space in front of the command, e.g. ` export BEARER_TOKEN="Bearer uLdb-Yafefe....2Hyl5_w"` 10414