Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

automatically deploying multiple language packs step-by-step

  • 6 trả lời
  • 1 gặp vấn đề này
  • 79 lượt xem
  • Trả lời mới nhất được viết bởi 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

Giải pháp được chọn

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.

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (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

Giải pháp được chọn

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