Join the AMA (Ask Me Anything) with Firefox leadership team to talk about Firefox priorities in 2024. Mark your calendar! Thursday, June 13, 17:00 - 19:00 UTC.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Learn More

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

automatically deploying multiple language packs step-by-step

  • 6 risposte
  • 1 ha questo problema
  • 171 visualizzazioni
  • Ultima risposta di 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

Soluzione scelta

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.

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (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

Soluzione scelta

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