Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

automatically deploying multiple language packs step-by-step

  • 6 件の返信
  • 1 人がこの問題に困っています
  • 1 回表示
  • 最後の返信者: skluck

more options

I am trying to create a Firefox installation package (version 60 x64 for Windows 7) including several language packs that should be automatically available for all users after installation (they should be able to activate one of them using intl.locale.requested).

I created an installation source following the steps described in https://support.mozilla.org/en-US/kb/repackaging-windows-installer:

1. extracted https://ftp.mozilla.org/pub/firefox/releases/60.0/win64/en-US/Firefox Setup 60.0.exe to a local folder as in step 2 2. created a new subfolder 'extensions' within 'core' 3. copied the desired xpi files from https://ftp.mozilla.org/pub/firefox/releases/60.0/win64/xpi/ into 'extensions' folder 4. compiled everything as in steps 4 - 6 5. installed Firefox and started it 6. opened about:addons / Extensions, but no language packs available

Could pls. someone give me step-by-step instruction on how to get the language packs automatically installed and available for all users?

Thank you very much in advance, and best regards, Stephan

I am trying to create a Firefox installation package (version 60 x64 for Windows 7) including several language packs that should be automatically available for all users after installation (they should be able to activate one of them using intl.locale.requested). I created an installation source following the steps described in https://support.mozilla.org/en-US/kb/repackaging-windows-installer: 1. extracted https://ftp.mozilla.org/pub/firefox/releases/60.0/win64/en-US/Firefox Setup 60.0.exe to a local folder as in step 2 2. created a new subfolder 'extensions' within 'core' 3. copied the desired xpi files from https://ftp.mozilla.org/pub/firefox/releases/60.0/win64/xpi/ into 'extensions' folder 4. compiled everything as in steps 4 - 6 5. installed Firefox and started it 6. opened about:addons / Extensions, but no language packs available Could pls. someone give me step-by-step instruction on how to get the language packs automatically installed and available for all users? Thank you very much in advance, and best regards, Stephan

選ばれた解決策

The extensions need to be in the distribution/extensions directory.

simply place the extensions in the distribution/extensions directory in the application's distribution directory.

この回答をすべて読む 👍 0

すべての返信 (6)

more options

Hi, you need to install them along with the dictionary for each so the spell check. https://addons.mozilla.org/en-GB/firefox/language-tools/ Then when someone wants to use it they would have to do this to change to the language of choice :

Please let us know if this solved your issue or if need further assistance.

more options

You likely have to rename the extensions to the ID as found in install.rdf if you haven't done this.

  • em:id="langpack-fr@firefox.mozilla.org"
  • langpack-fr@firefox.mozilla.org.xpi
more options

Good morning all,

@Pkshadow: thank you for the recommendation but I only want to achieve that the users are able to set the interface language of Firefox using the about:config value 'intl.locale.requested'. So no dictionaries necessary I guess. The 2nd URL you gave me describes the manual installation of language packs. I am in need of a procedure to have them automatically installed with my customized installation package.

@cor-el: thank you too! I could not find any install.rdf file, so I used the ids within the manifest.json file within each xpi file and renamed it accordingly, e.g. de.xpi to langpack-de@firefox.mozilla.org but no success so far: The installation does not give any error, and the xpi files are installed into C:\Program Files\Mozilla Firefox\extensions but the language packs are not visible in Firefox about:addons (no 'languages' option is there).

more options

short typo correction:

'e.g. de.xpi to langpack-de@firefox.mozilla.org ' must read 'e.g. de.xpi to langpack-de@firefox.mozilla.org.xpi '

more options

選ばれた解決策

The extensions need to be in the distribution/extensions directory.

simply place the extensions in the distribution/extensions directory in the application's distribution directory.

more options

@cor-el: that's it! Thank you very much, that way it worked! Best regards, Stephan