firefox translations
1.0.0

請在https://bugzilla.mozilla.org/enter_bug.cgi?product=firefox&component = Translation中打開新問題
Firefox Translations是一種Webextension,它啟用了Web瀏覽器的客戶端內頁式翻譯。
Firefox翻譯是由佛戰項目聯盟開發的,該聯盟由愛丁堡大學與布拉格的伙伴查爾斯大學,謝菲爾德大學,塔爾圖大學和莫茲拉協調。根據825303授予協議,該項目已從歐盟Horizon 2020研究與創新計劃中獲得資金。
當前版本版本可在Mozilla附加組件上安裝

請按照以下步驟安裝在firefox夜間或beta上安裝擴展名的Android:
Create a collection on AMO (我們已經在此處提供了一個集合),然後從該部分開始Enable general extension support setting in NightlyCollection owner字段中輸入17436609 ,然後在Collection name字段中fxtAdd-ons+圖標即可安裝它Custom Addon-on collection ,以便您再次列出庫存附件。 您可以按照以下步驟進行夜間測試Firefox Niverfox niverfox的擴展或開發人員版本的構建:
about:config並設置以下首選項: xpinstall.signatures.required to false
extensions.experiments.enabled to true
您可以按照以下步驟測試Android上的插件:
npm installadb shell pm grant org.mozilla.fenix android.permission.READ_EXTERNAL_STORAGE在您的終端中adb devices ,複製設備ID,然後<device id from adb devices>npm run android -- --android-device=<ANDROID_DEVICE_ID> <android_device_id>在手機中安裝插件並使瀏覽器自動啟動(或npm run android-win -- --android-device=<ANDROID_DEVICE_ID>如果在Windows System上開發)這應該足以將插件安裝在您的Android中。在下面的視頻中撰寫步驟,以了解如何使用它。
擴展名不利用任何NPM模塊,並且其中唯一的供應商依賴項是:
佛手柑翻譯器
fastText
哨兵
序列化
npm installnpm run once ,等到夜間開始about:config and set extensions.experiments.enabled到true將新的指標添加到extension/model/telemetry/metrics.yaml extension/model/telemetry/pings.yaml或pings之後
bash scripts/update-telemetry-schema.sh
再生JS遙測模式。
代替
extension/controller/translation/bergamot-translation-worker.jsextension/model/static/translation/bergamot-translator-worker.wasm使用新工件,然後執行:
bash scripts/update-bergamot-translator.sh
再生JS版本文件。此版本在遙測中報告。
矩陣上的Firefox翻譯頻道