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".

Learn More

Issue Policy ExtensionSettings - Lang pack

  • 3 trả lời
  • 0 gặp vấn đề này
  • 41 lượt xem
  • Trả lời mới nhất được viết bởi Mike Kaply

more options

Hello,

I'm trying to deploy Firefox with several languages.

I followed the guide on [https://support.mozilla.org/en-US/kb/deploying-firefox-language-packs].

Everything work fine until I set up ExtensionSettings policy. This policy hide and block languages menu.

After scratching my head for a while, I finally figured out how to do it. I would to like to know if an easier way to whitelist all locales and dictionaries. I would like to only control the extensions.

<enabled/> <data id="ExtensionSettings" value=' {

 "*": {
   "blocked_install_message": "Blocked by your administrator.",
   "installation_mode": "blocked",
   "allowed_types": ["extensions", "dictionary", "locale"]
 },
 "uBlock0@raymondhill.net": {
   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
 },

"qwantcomforfirefox@jetpack": {

   "installation_mode": "force_installed",
   "install_url": "https://addons.mozilla.org/firefox/downloads/file/3658805/latest.xpi"

}, "langpack-en-CA@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-en-GB@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-en-US@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-es-AR@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-es-CL@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-es-ES@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-es-MX@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-fr@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-pt-BR@firefox.mozilla.org": {

 "installation_mode": "allowed"

}, "langpack-pt-PT@firefox.mozilla.org": {

 "installation_mode": "allowed"

} }'/>

Thank you

Hello, I'm trying to deploy Firefox with several languages. I followed the guide on [[https://support.mozilla.org/en-US/kb/deploying-firefox-language-packs]]. Everything work fine until I set up ExtensionSettings policy. This policy hide and block languages menu. After scratching my head for a while, I finally figured out how to do it. I would to like to know if an easier way to whitelist all locales and dictionaries. I would like to only control the extensions. <enabled/> <data id="ExtensionSettings" value=' { "*": { "blocked_install_message": "Blocked by your administrator.", "installation_mode": "blocked", "allowed_types": ["extensions", "dictionary", "locale"] }, "uBlock0@raymondhill.net": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" }, "qwantcomforfirefox@jetpack": { "installation_mode": "force_installed", "install_url": "https://addons.mozilla.org/firefox/downloads/file/3658805/latest.xpi" }, "langpack-en-CA@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-en-GB@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-en-US@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-es-AR@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-es-CL@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-es-ES@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-es-MX@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-fr@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-pt-BR@firefox.mozilla.org": { "installation_mode": "allowed" }, "langpack-pt-PT@firefox.mozilla.org": { "installation_mode": "allowed" } }'/> Thank you

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

If you remove

"installation_mode": "blocked",

and just set

"allowed_types": ["dictionary", "locale"]

And only specify ublock and qwant, I think you'll get what you want.

All dictionaries and locales are allowed and only the extensions you specify.

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

Tất cả các câu trả lời (3)

more options

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

If you remove

"installation_mode": "blocked",

and just set

"allowed_types": ["dictionary", "locale"]

And only specify ublock and qwant, I think you'll get what you want.

All dictionaries and locales are allowed and only the extensions you specify.

more options

That's great!

Thank you Mike, I followed too much the example and misunderstood the documentation about installation_mode and allowed_types.

Cheers

more options

> I followed too much the example and misunderstood the documentation about installation_mode and allowed_types.

I think my examples have too much stuff in them :).