Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

automatically deploying multiple language packs step-by-step

  • 6 respostas
  • 1 tem este problema
  • 79 visualizações
  • Última resposta de 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

Solução escolhida

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.

Ler esta resposta 👍 0

Todas as respostas (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

Solução escolhida

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