Compare Revisions
Deploy Firefox with language packs
Revision 223698:
Revisión 223698 de Fabi.L do
Revision 295401:
Revisión 295401 de mkaply do
Palabras clave:
Search results summary:
Deploy Firefox in your environment with preinstalled language packs.
Deploy Firefox in your environment with preinstalled language packs.
Contido:
In an enterprise environment, it may be necessary to deploy Firefox with language packs preinstalled. This document will show you how to do that. These steps also work if you are [[Repackaging the Windows Installer|customizing the Windows installer]].
= Step 1: Create directories =
In the Firefox installation directory, you will need to create some required directories. First, create a directory called <code>distribution</code>. Inside of that directory, create another called <code>extensions</code>. If you are on macOS, you should create the directories in <code>Contents/Resources</code>
= Step 2: Download language packs =
Download the language packs that correspond to the build you are installing. They are in the xpi directory for the corresponding platform. For example:
<code>https://releases.mozilla.org/pub/firefox/releases/89.0/win64/xpi/</code>
Even though the XPI files are duplicated in the different platforms, there is no difference between them. You can download the XPI from any platform directory.
= Step 3: Rename the language packs =
Rename the language packs using the following format:
<pre>
xx.xpi -> langpack-xx@firefox.mozilla.org.xpi
</pre>
or<pre>
xx-XX.xpi -> langpack-xx-XX@firefox.mozilla.org.xpi
</pre>
= Step 4 : Copy the language packs =
Copy the renamed language packs into the <code>extensions</code> directory you created in step 1.
= Step 5: Set the default language =
Using policy, set [https://github.com/mozilla/policy-templates/blob/master/README.md#requestedlocales RequestedLocales] to either the language you want to use by default or an empty string to use the same language as the operating system.
In an enterprise environment, it may be necessary to deploy Firefox with language packs preinstalled. This document will show you how to do that. These steps also work if you are [[Repackaging the Windows Installer|customizing the Windows installer]].
= Step 1: Create directories =
In the Firefox installation directory, you will need to create some required directories. First, create a directory called <code>distribution</code>. Inside of that directory, create another called <code>extensions</code>. If you are on macOS, you should create the directories in <code>Contents/Resources</code>
= Step 2: Download language packs =
Download the language packs that correspond to the build you are installing. They are in the xpi directory for the corresponding platform. For example:
<code>https://releases.mozilla.org/pub/firefox/releases/137.0/win64/xpi/</code>
Even though the XPI files are duplicated in the different platforms, there is no difference between them. You can download the XPI from any platform directory.
= Step 3: Rename the language packs =
Rename the language packs using the following format:
<pre>
xx.xpi -> langpack-xx@firefox.mozilla.org.xpi
</pre>
or<pre>
xx-XX.xpi -> langpack-xx-XX@firefox.mozilla.org.xpi
</pre>
= Step 4 : Copy the language packs =
Copy the renamed language packs into the <code>extensions</code> directory you created in step 1.
= Step 5: Set the default language =
Using policy, set [https://github.com/mozilla/policy-templates/blob/master/README.md#requestedlocales RequestedLocales] to either the language you want to use by default or an empty string to use the same language as the operating system.