This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

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