為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Downloading language data for offline translation

  • 1 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

How do I download language data for translating on a machine that is not connected to the internet?

I already followed the instructions here to download an offline firefox installer: https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

and I downloaded the language packs I want here: https://releases.mozilla.org/pub/firefox/releases/124.0/win64/xpi/

and I followed the instructions here: https://support.mozilla.org/en-US/kb/deploying-firefox-language-packs

But translation still doesn't work. I even manually installed the "*.xpi" packs into the browser. I can see in Firefox's settings that it thinks the packs are installed, and it offers to translate pages it detects are in a different language, but translation fails. I noticed that the language packs are smaller than I would have expected - smaller than 1MB. Is there a way to download the language data that is needed for offline translations?

Thank you!

How do I download language data for translating on a machine that is not connected to the internet? I already followed the instructions here to download an offline firefox installer: https://www.mozilla.org/en-US/firefox/all/#product-desktop-release and I downloaded the language packs I want here: https://releases.mozilla.org/pub/firefox/releases/124.0/win64/xpi/ and I followed the instructions here: https://support.mozilla.org/en-US/kb/deploying-firefox-language-packs But translation still doesn't work. I even manually installed the "*.xpi" packs into the browser. I can see in Firefox's settings that it thinks the packs are installed, and it offers to translate pages it detects are in a different language, but translation fails. I noticed that the language packs are smaller than I would have expected - smaller than 1MB. Is there a way to download the language data that is needed for offline translations? Thank you!

所有回覆 (1)

more options

A language pack contains string translations for the Firefox user interface and doesn't have anything to do with the new website-translation.

You can find the website language files listed in the translations-models.json file.

See also:

I see the files in the disk cache (about:cache), so I'm not sure if Firefox download them only once or each time you use them in a session and if you can use them without an internet connection as files get downloaded from Remote Settings.